public void CreateAccount(Account account, Guid id) { _customerAccountRepository.Create(new CustomerAccount(id, account.Id)); _accountRepository.CreateAccount(account); }
public void CreateAccount(Account account, Guid id) { _customerAccountRepository.Create(new CustomerAccount(id, account.Id)); _accountRepository.CreateAccount(account); }