public ActionResult Results() { var m = new SavedQueryModel(); UpdateModel(m.Pager); UpdateModel(m); return View(m); }
public ActionResult Code(SavedQueryModel m) { var qlist = from q in m.DefineModelList() select q.QueryId; var list = string.Join(",", qlist); TempData["codelist"] = list; return Content("ok"); }
public ActionResult Index() { var m = new SavedQueryModel { OnlyMine = DbUtil.Db.UserPreference("SavedQueryOnlyMine", "false").ToBool() }; return View(m); }
public ActionResult Index() { if (!ViewExtensions2.UseNewLook()) return Redirect("/SavedQuery"); var m = new SavedQueryModel { OnlyMine = DbUtil.Db.UserPreference("SavedQueryOnlyMine", "false").ToBool() }; m.Pager.Set("/SavedQueryList/Results", 1, null, "Last Run", "desc"); return View(m); }
public ActionResult Results(SavedQueryModel m) { return View(m); }
public ActionResult Results(int? page, int? size, string sort, string dir, SavedQueryModel m) { m.Pager.Set("/SavedQueryList/Results", page, size, sort, dir); return View(m); }
public ActionResult Index() { var m = new SavedQueryModel(); return View(m); }