Пример #1
0
 public void UpdateCustomer(Customers customer)
 {
     customerRepository.Update(customer);
 }
Пример #2
0
 public void DeleteCustomer(Customers customer)
 {
     customerRepository.Delete(customer);
 }
Пример #3
0
        public int AddCustomer(Customers customer)
        {
            int customerId = customerRepository.Add(customer);

            return(customerId);
        }