public BuyCurrencyCommandHandler(IAccountRepository accountRepository, IAccountTransactionRepository accountTransactionRepository, ICurrencyExchangeAdapter currencyExchangeAdapter) { _accountRepository = accountRepository; _accountTransactionRepository = accountTransactionRepository; _currencyExchangeAdapter = currencyExchangeAdapter; }
public GetExchangeRatesQueryHandler(ICurrencyExchangeAdapter currencyExchangeAdapter) { _currencyExchangeAdapter = currencyExchangeAdapter; }