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