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