public ActionResult buildPaganationScategoryList(SCListModel model) { try { return(Json(new { NOP = (new ServiceCategoryModel()).BuildPaganationSCList(model) }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }
public ActionResult fillSCategorySearchGrid(SCListModel model) { try { return(Json((new ServiceCategoryModel()).FillSCSearchGrid(model), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }