Пример #1
0
 public AccountNumberGenerator(
     IAccountOwnerService accountOwnerService,
     IAccountRepository accountRepository,
     IAccountTypeRepository accountTypeRepository
     )
 {
     this.accountOwnerService   = accountOwnerService;
     this.accountRepository     = accountRepository;
     this.accountTypeRepository = accountTypeRepository;
 }
Пример #2
0
 public CreateAccountCommandHandler(IUnitOfWork uow, IAccountAggregateRepository accountAggregateRepository, IAccountOwnerService accountOwnerService)
     : base(uow)
 {
     _accountAggregateRepository = accountAggregateRepository;
     _accountOwnerService        = accountOwnerService;
 }