コード例 #1
0
 public void SubmitCustomerAccountForm(CustomerAccountEntity accountEntity, string keyValue)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         accountEntity.Modify(keyValue);
         customerAccountRepository.Update(accountEntity);
     }
     else
     {
         accountEntity.Create();
         customerAccountRepository.Insert(accountEntity);
     }
 }
コード例 #2
0
 public void UpdatePost(CustomerAccount savePost)
 {
     //updating the database
     _customer.Update(savePost);
 }
コード例 #3
0
 public void UpdateCustomerAccount(CustomerAccount entity)
 {
     _contractUnitRepsoitory.Update(entity);
 }
コード例 #4
0
 public void UpdateAccount(CustomerAccount account)
 {
     SetAccountStockLifeCycle(account);
     _customerAccountRepository.Update(account);
 }