示例#1
0
 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));
     }
 }
示例#2
0
 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));
     }
 }