public ActionResult FillSlotSearchGrid(AmenitiesSlotModel.AmenitiesSlotSearchModel model) { try { return(Json((new AmenitiesSlotModel()).FillSlotSearchGrid(model), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }
public ActionResult BuildPaganationSlotList(AmenitiesSlotModel.AmenitiesSlotSearchModel model) { try { return(Json(new { NOP = (new AmenitiesSlotModel()).BuildPaganationSlotList(model) }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }