Exemplo n.º 1
0
 public AccountManagementService(
     IAccountsRepository accountsRepository,
     IAccountAcquiringService accountAcquiringService,
     IAccountTransferService accountTransferService)
 {
     _accountsRepository      = accountsRepository;
     _accountAcquiringService = accountAcquiringService;
     _accountTransferService  = accountTransferService;
 }
Exemplo n.º 2
0
 public AccountTransferService(
     IAccountsRepository accountsRepository,
     IAccountAcquiringService accountAcquiringService,
     ICurrencyConversionService currencyConversionService,
     IEventBus eventBus)
 {
     _accountsRepository        = accountsRepository;
     _accountAcquiringService   = accountAcquiringService;
     _currencyConversionService = currencyConversionService;
     _eventBus = eventBus;
 }