public ActionResult BuildPaganationSLList(SLListModel model) { try { return(Json(new { NOP = (new ServiceLocationModel()).BuildPaganationSLList(model) }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }
public ActionResult fillLocationSearchGrid(SLListModel model) { try { return(Json((new ServiceLocationModel()).FillLSSearchGrid(model), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }