public ActionResult BuildPaganationMSList(MSListModel model) { try { return(Json(new { NOP = (new MarketSourceModel()).BuildPaganationMSList(model) }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }
public ActionResult FillMSSearchGrid(MSListModel model) { try { return(Json((new MarketSourceModel()).FillMSSearchGrid(model), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }