public static bool UpdateCustomerType(string oldType, string newType) { if (CustomerTypeDAO.CheckCustomerType(newType)) { return(false); } return(CustomerTypeDAO.UpdateCustomerType(oldType, newType)); }
public static bool InsertCustomerType(string customerType) { if (CustomerTypeDAO.CheckCustomerType(customerType)) { return(false); } return(CustomerTypeDAO.InsertCustomerType(customerType)); }