public JsonResult SubProductExistence(string Name, string id) { return(Json(SubProductBLL.ListAllByTypeId(id).Any(x => x.Nome.ToLower() == Name.ToLower()), JsonRequestBehavior.AllowGet)); }
public JsonResult SubType(string id) { return(Json(SubProductBLL.ListAllByTypeId(id), JsonRequestBehavior.AllowGet)); }