Beispiel #1
0
 public JsonResult GetProcList(string type = "", string gz = "")
 {
     try
     {
         var result = bll.GetProduct(type, gz, 1, 1);
         return(Json(result, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(Enumerable.Empty <string>(), JsonRequestBehavior.AllowGet));
     }
 }