Пример #1
0
 public void UpdateCustomer(Customer customer)
 {
     if (customer == null)
     {
         throw new ArgumentNullException(nameof(customer));
     }
     using (var scope = _dbProvider.DataAccess.GetScope())
     {
         _customerController.Update(scope, customer);
     }
 }