public static void updateProductType(int id, string productTypeName, string description, out string errorMessage) { bool success = checkConstraintProductType(productTypeName, description, out errorMessage); if (success == true) { ProductTypeHandler.doUpdateProductType(id, productTypeName, description); } }