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