public ActionResult List(OrgMembersModel m) { m.ValidateIds(); CurrentDatabase.SetUserPreference("OrgMembersModelIds", $"{m.ProgId}.{m.SourceDivId}.{m.SourceId}"); CurrentDatabase.SetNoLock(); return(View(m)); }
public ActionResult GradeList(int id) { var m = new OrgMembersModel(); UpdateModel(m); return(m.ToExcel(id)); }
public ActionResult Index() { var m = new OrgMembersModel(); m.FetchSavedIds(); return(View(m)); }
public ActionResult ResetMoved() { var m = new OrgMembersModel(); UpdateModel(m); m.ResetMoved(); return(View("List", m)); }
public ActionResult EmailNotices() { var m = new OrgMembersModel(); UpdateModel(m); m.SendMovedNotices(); return(View("List", m)); }
public ActionResult List(OrgMembersModel m) { m.ValidateIds(); DbUtil.Db.SetUserPreference("OrgMembersModelIds", $"{m.ProgId}.{m.SourceDivId}.{m.SourceId}"); DbUtil.DbDispose(); DbUtil.Db.SetNoLock(); return(View(m)); }
public ActionResult Move(OrgMembersModel m) { if (m.TargetId == 0) { return(Content("!Target required")); } m.Move(); return(View("List", m)); }
public ActionResult List() { var m = new OrgMembersModel(); UpdateModel(m); m.ValidateIds(); DbUtil.Db.SetUserPreference("OrgMembersModelIds", "{0}.{1}.{2}".Fmt(m.ProgId, m.DivId, m.SourceId)); DbUtil.DbDispose(); DbUtil.Db.SetNoLock(); return(View(m)); }
public ActionResult ResetMoved(OrgMembersModel m) { m.ResetMoved(); return(View("List", m)); }
public ActionResult EmailNotices(OrgMembersModel m) { m.SendMovedNotices(); return(View("List", m)); }