예제 #1
0
        public ActionResult Index(int id)
        {
            var model = new DeleteMeeting(id);

            model.RemoveExistingLop(DbUtil.Db, id, DeleteMeeting.Op);
            return(View(model));
        }
예제 #2
0
 public ActionResult Process(DeleteMeeting model)
 {
     model.UpdateLongRunningOp(CurrentDatabase, DeleteMeeting.Op);
     if (!model.Started.HasValue)
     {
         DbUtil.LogActivity($"Delete Meeting {model.MeetingId}", orgid: model.OrgId, userId: Util.UserPeopleId);
         model.Process(CurrentDatabase);
     }
     return(View(model));
 }
예제 #3
0
 public ActionResult Process(DeleteMeeting model)
 {
     model.UpdateLongRunningOp(DbUtil.Db, DeleteMeeting.Op);
     if (!model.Started.HasValue)
     {
         DbUtil.LogActivity($"Add to org from tag for {Session["ActiveOrganization"]}");
         model.Process(DbUtil.Db);
     }
     return(View(model));
 }
예제 #4
0
        public ActionResult Index(int id)
        {
            var model = new DeleteMeeting(id);

            return(View(model));
        }
예제 #5
0
        public ActionResult Index(int id)
        {
            var model = new DeleteMeeting(id, CurrentDatabase);

            return(View(model));
        }