Exemple #1
0
 public static bool UpdateCustomerType(string oldType, string newType)
 {
     if (CustomerTypeDAO.CheckCustomerType(newType))
     {
         return(false);
     }
     return(CustomerTypeDAO.UpdateCustomerType(oldType, newType));
 }
Exemple #2
0
 public static bool InsertCustomerType(string customerType)
 {
     if (CustomerTypeDAO.CheckCustomerType(customerType))
     {
         return(false);
     }
     return(CustomerTypeDAO.InsertCustomerType(customerType));
 }
Exemple #3
0
 public static DataTable GetCustomerTypeList()
 {
     return(CustomerTypeDAO.GetCustomerTypeList());
 }
Exemple #4
0
 public static bool DeleteCustomerType(string customerType)
 {
     return(CustomerTypeDAO.DeleteCustomerType(customerType));
 }
Exemple #5
0
 public static string GetCustomerTypeByID(int typeID)
 {
     return(CustomerTypeDAO.GetCustomerTypeByID(typeID));
 }