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