Пример #1
0
 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);
 }
Пример #2
0
 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);
 }