public Object Index() { Object v = null; var m = new R3Model(); if (ControllerContext.HttpContext.IsDebuggingEnabled) { v = View("~/Views/R3/Index.cshtml", m); // _ViewStart.cshtml } else { v = PartialView("~/Views/R3/Index.cshtml", m); } return(v); }
public Object ApplyPeriod(String p1, String p2) { DateTime d1; if (!DateTime.TryParse(p1, out d1)) { d1 = DateTime.Now.AddDays(-3); } DateTime d2; if (!DateTime.TryParse(p2, out d2)) { d2 = DateTime.Now; } R3Model m = new R3Model(d1, d2); return(PartialView("~/Views/Shared/DataGridView/Show.cshtml", m.FilteredView)); }
public Object ApplyFilter(List <String> fs, List <Int32> sf) { R3Model m = new R3Model(fs, sf); return(PartialView("~/Views/Shared/DataGridView/Show.cshtml", m.FilteredView)); }
public ActionResult Index() { R3Model m = new R3Model(); return(View(m)); }