public CurrencyPurchaseService(ICurrenciesExchangeService exchangeService, ITransactionDbController transactionDbController, IValidator <Transaction> validator ) { _exchangeService = exchangeService; _transactionDbController = transactionDbController; _validator = validator; }
public ExchangeController(ICurrenciesExchangeService exchangeService) { _exchangeService = exchangeService; }