예제 #1
0
 public ActionResult TypeProducts()
 {
     return(Json(ProductTypeBLL.ListAll(), JsonRequestBehavior.AllowGet));
 }
예제 #2
0
 public JsonResult ProductTypeExistence(string Nome)
 {
     return(Json(ProductTypeBLL.ListAll().Any(x => x.Nome.ToLower() == Nome.ToLower()),
                 JsonRequestBehavior.AllowGet));
 }