Пример #1
0
        public ActionResult DeleteContactHold(int id, int covId)
        {
            ContactScheduleHoldViewModel model = new ContactScheduleHoldViewModel();

            model.ContactScheduleHoldDelete(id);

            return(PartialView("_ContactScheduleHoldGrid", model.GetAllContactScheduleHolds(covId)));
        }
Пример #2
0
        public ActionResult RefreshContact(int id)
        {
            RenewalViewModel             model = new RenewalViewModel();
            ContactScheduleHoldViewModel hold  = new ContactScheduleHoldViewModel();


            return(PartialView("_ContactScheduleHoldGrid", hold.GetAllContactScheduleHolds(model.GetMemberCoverageID(id))));
        }
Пример #3
0
        public ActionResult EditContact(ContactScheduleViewModel model)
        {
            ContactScheduleHoldViewModel modelHold = new ContactScheduleHoldViewModel();

            modelHold.ContactScheduleEdit(model);

            return(Json(new { success = true }));
        }
Пример #4
0
        public ActionResult AddContact(ContactScheduleViewModel model)
        {
            ContactScheduleHoldViewModel hold = new ContactScheduleHoldViewModel();

            hold.ContactScheduleAdd(model);

            return(Json(new { success = true }));
        }
Пример #5
0
        public ActionResult ContactDelete(int id, int memId)
        {
            ContactScheduleHoldViewModel model = new ContactScheduleHoldViewModel();

            model.ContactScheduleDelete(id);
            MemberCoverageViewModel member = new MemberCoverageViewModel(memId, 0);

            return(PartialView("_ContactScheduleGrid", member));
        }
Пример #6
0
        public ActionResult SaveContactHold(ContactScheduleHoldViewModel model)
        {
            model.ContactScheduleHoldSave(model);

            return(Json(new { success = true }));
        }
Пример #7
0
        public ActionResult EditContactHold(int id)
        {
            ContactScheduleHoldViewModel model = new ContactScheduleHoldViewModel();

            return(PartialView("_ContactEditHold", model.GetAContactScheduleHold(id)));
        }