Exemplo n.º 1
0
 public JsonResult GetProcType()
 {
     try
     {
         var result = bll.GetProductType();
         return(Json(result, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(Enumerable.Empty <string>(), JsonRequestBehavior.AllowGet));
     }
 }