Beispiel #1
0
 public static bool AddCustomer(Customer customer, string executedBy)
 {
     return(CustomerDAO.Insert(customer, executedBy));
 }
Beispiel #2
0
 public static Customer GetCustomerByCode(string customerCode, string executedBy)
 {
     return(CustomerDAO.GetByCode(customerCode, executedBy));
 }
Beispiel #3
0
 public static bool UpdateCustomer(Customer customer, string executedBy)
 {
     return(CustomerDAO.Update(customer, executedBy));
 }
Beispiel #4
0
 public static bool DeleteCustomer(int customerID, string executedBy)
 {
     return(CustomerDAO.Delete(customerID, executedBy));
 }
Beispiel #5
0
 public static List <Customer> GetAllCustomer(Customer srchCustomer, string executedBy)
 {
     return(CustomerDAO.GetAll(srchCustomer, executedBy));
 }