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