public ActionResult UserPerformance() { var model = new UserPerformance_Page_Model(); model.Init(); model.Load(); var doc = new DefaultDocument() { Content = new UserPerformance_Page() { Model = model } }; return Content(doc); }
public ActionResult UserPerformance() { var model = new UserPerformance_Page_Model(); model.Init(); model.Load(); var doc = new DefaultDocument() { PageView = (new UserPerformance_Page() { Model = model}).ToHtml() }; doc.Scripts.Add("Content/Scripts/AdminUserPerformance.js"); return Content(doc.ToHtml().ToString()); }