Esempio n. 1
0
 public ActionResult FillServicesSearchGrid(ServicesManagementModel.ServicesSearchModel model)
 {
     try
     {
         return(Json(new { model = new ServicesManagementModel().FillServicesSearchGrid(model) }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { model = ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }
Esempio n. 2
0
 public ActionResult BuildPaganationUserList(ServicesManagementModel.ServicesSearchModel model)
 {
     try
     {
         return(Json(new { NOP = (new ServicesManagementModel()).BuildPaganationUserList(model) }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }