Esempio n. 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);
     }
 }
 public void UpdatePost(CustomerAccount savePost)
 {
     //updating the database
     _customer.Update(savePost);
 }
Esempio n. 3
0
 public void UpdateCustomerAccount(CustomerAccount entity)
 {
     _contractUnitRepsoitory.Update(entity);
 }
Esempio n. 4
0
 public void UpdateAccount(CustomerAccount account)
 {
     SetAccountStockLifeCycle(account);
     _customerAccountRepository.Update(account);
 }