Example #1
0
 public ActionResult Results()
 {
     var m = new SavedQueryModel();
     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);
 }
Example #2
0
 public ActionResult Index()
 {
     var m = new SavedQueryModel();
     return View(m);
 }