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)); } }
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)); } }