public ActionResult <bool> DeleteType(long id) { var result = _productManagement.DeleteProduct(id); if (!result) { return(NotFound()); } return(result); }