コード例 #1
0
 //validation annotation goes here
 //transaction annotation goes here
 public void UpdateCustomer(Customer customer)
 {
     _customerRepository.Update(customer);
 }
コード例 #2
0
 //validation annotation goes here
 //transaction annotation goes here
 public void AddNewCustomer(Customer customer)
 {
     _customerRepository.Create(customer);
 }