public ActionResult EditProperty(PropertyViewModel model) { PropertyScheduleHoldViewModel modelHold = new PropertyScheduleHoldViewModel(); modelHold.PropertyScheduleEdit(model); return(Json(new { success = true })); }
public ActionResult DeleteProperty(PropertyDeleteViewModel model) { PropertyScheduleHoldViewModel modelHold = new PropertyScheduleHoldViewModel(); modelHold.PropertyScheduleDelete(model); return(Json(new { success = true })); }
public ActionResult DeletePropertyHold(int id, int covId) { PropertyScheduleHoldViewModel model = new PropertyScheduleHoldViewModel(); model.PropertyScheduleHoldDelete(id); return(PartialView("~/Views/MemberCov/_PropertyScheduleHoldGrid.cshtml", model.GetAllPropertyScheduleHold(covId))); }
public ActionResult EditPropertyHold(int id) { PropertyScheduleHoldViewModel model = new PropertyScheduleHoldViewModel(); return(PartialView("~/Views/MemberCov/_PropertyEditHold.cshtml", model.GetAPropertyScheduleHold(id))); }