예제 #1
0
 public ActionResult PrevMemberGrid(int id, string namefilter, bool? ShowProspects)
 {
     InitExportToolbar(id, DbUtil.Db.QueryPreviousCurrentOrg().QueryId);
     var m = new PrevMemberModel(id, namefilter) { ShowProspects = ShowProspects ?? false };
     UpdateModel(m.Pager);
     ViewBag.orgname = Session["ActiveOrganization"] + " - Previous Members";
     DbUtil.LogActivity("Viewing Prev Members for {0}".Fmt(Session["ActiveOrganization"]));
     return View(m);
 }
예제 #2
0
 public ActionResult PrevMemberGrid(int id, string namefilter)
 {
     var qb = DbUtil.Db.QueryBuilderPreviousCurrentOrg();
     InitExportToolbar(id, qb.QueryId);
     var m = new PrevMemberModel(id, namefilter);
     UpdateModel(m.Pager);
     ViewBag.orgname = Session["ActiveOrganization"] + " - Previous Members";
     DbUtil.LogActivity("Viewing Prev Members for {0}".Fmt(Session["ActiveOrganization"]));
     return View(m);
 }