Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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>");
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