Beispiel #1
0
 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));
     }
 }
Beispiel #2
0
        public ActionResult Edit(int Id)
        {
            var model = new FacilityBookingModel().GetFacilityBookingData(Id);

            return(View("..\\FacilityBooking\\Edit", model));
        }