예제 #1
0
 public ActionResult List(OrgMembersModel m)
 {
     m.ValidateIds();
     CurrentDatabase.SetUserPreference("OrgMembersModelIds", $"{m.ProgId}.{m.SourceDivId}.{m.SourceId}");
     CurrentDatabase.SetNoLock();
     return(View(m));
 }
예제 #2
0
        public ActionResult GradeList(int id)
        {
            var m = new OrgMembersModel();

            UpdateModel(m);
            return(m.ToExcel(id));
        }
예제 #3
0
        public ActionResult Index()
        {
            var m = new OrgMembersModel();

            m.FetchSavedIds();
            return(View(m));
        }
예제 #4
0
        public ActionResult ResetMoved()
        {
            var m = new OrgMembersModel();

            UpdateModel(m);
            m.ResetMoved();
            return(View("List", m));
        }
예제 #5
0
        public ActionResult EmailNotices()
        {
            var m = new OrgMembersModel();

            UpdateModel(m);
            m.SendMovedNotices();
            return(View("List", m));
        }
예제 #6
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));
 }
예제 #7
0
 public ActionResult Move(OrgMembersModel m)
 {
     if (m.TargetId == 0)
     {
         return(Content("!Target required"));
     }
     m.Move();
     return(View("List", m));
 }
예제 #8
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));
        }
예제 #9
0
 public ActionResult ResetMoved(OrgMembersModel m)
 {
     m.ResetMoved();
     return(View("List", m));
 }
예제 #10
0
 public ActionResult EmailNotices(OrgMembersModel m)
 {
     m.SendMovedNotices();
     return(View("List", m));
 }