public ActionResult SaveUpdateFacilityBooking(FacilityBookingModel model) { try { return(Json(new { msg = (new FacilityBookingModel().SaveUpdateFacilityBooking(model)) }, JsonRequestBehavior.AllowGet)); } catch (Exception Ex) { return(Json(new { Ex.Message }, JsonRequestBehavior.AllowGet)); } }
public ActionResult Edit(int Id) { var model = new FacilityBookingModel().GetFacilityBookingData(Id); return(View("..\\FacilityBooking\\Edit", model)); }