public AccountNumberGenerator( IAccountOwnerService accountOwnerService, IAccountRepository accountRepository, IAccountTypeRepository accountTypeRepository ) { this.accountOwnerService = accountOwnerService; this.accountRepository = accountRepository; this.accountTypeRepository = accountTypeRepository; }
public CreateAccountCommandHandler(IUnitOfWork uow, IAccountAggregateRepository accountAggregateRepository, IAccountOwnerService accountOwnerService) : base(uow) { _accountAggregateRepository = accountAggregateRepository; _accountOwnerService = accountOwnerService; }