public ActionResult Index() { if (ViewExtensions2.UseNewLook()) return Redirect("/SavedQueryList"); var m = new SavedQuery2Model(); return View(m); }
public ActionResult Results() { var m = new SavedQuery2Model(); UpdateModel(m.Pager); UpdateModel(m); var onlyMine = DbUtil.Db.UserPreference("savedSearchOnlyMine", "true").ToBool(); if (m.onlyMine != onlyMine) DbUtil.Db.SetUserPreference("savedSearchOnlyMine", m.onlyMine); return View(m); }