Created
March 26, 2011 16:59
-
-
Save Itslet/888442 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HomeController : Controller | |
{ | |
// | |
// GET: /Home/ | |
public ILogger Logger { get; set; } | |
private readonly IStoryTeller _teller; | |
public HomeController(IStoryTeller teller) | |
{ | |
_teller = teller; | |
} | |
public ActionResult Index() | |
{ | |
string hoi = _teller.GoodMorning(); | |
Response.Write("Hello <p>"); | |
Response.Write(hoi); | |
Response.Write("</p>"); | |
Logger.WarnFormat("Dit ging okee"); | |
return View(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment