public ActionResult DeletePsychiatry(PsychiatryDeleteViewModel model) { PsychiatryScheduleHoldViewModel modelHold = new PsychiatryScheduleHoldViewModel(); modelHold.PsychiatryScheduleDelete(model); return(Json(new { success = true })); }
public ActionResult PsychiatryDelete(int id) { PsychiatryDeleteViewModel model = new PsychiatryDeleteViewModel(); return(PartialView("~/Views/MemberCov/_PsychiatryDelete.cshtml", model.GetAPsychiatrySchedule(id))); }