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