Esempio n. 1
0
 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));
     }
 }
Esempio n. 2
0
 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));
     }
 }