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)); }
public static DataTable GetCustomerTypeList() { return(CustomerTypeDAO.GetCustomerTypeList()); }
public static bool DeleteCustomerType(string customerType) { return(CustomerTypeDAO.DeleteCustomerType(customerType)); }
public static string GetCustomerTypeByID(int typeID) { return(CustomerTypeDAO.GetCustomerTypeByID(typeID)); }