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