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); }
public void UpdateCustomerAccount(CustomerAccount entity) { _contractUnitRepsoitory.Update(entity); }
public void UpdateAccount(CustomerAccount account) { SetAccountStockLifeCycle(account); _customerAccountRepository.Update(account); }