public ActionResult About() { ViewBag.Message = "Your application description page."; PoolWatcher pw = new PoolWatcher(); pw.Notify(ViewBag.Message); return(View()); }
public ActionResult Contact() { ViewBag.Message = "Structure map instance Home/Contact()."; PoolWatcher pw = new PoolWatcher(); pw.Action = this._notificationAction; pw.Notify(ViewBag.Message); return(View()); }