Exemplo n.º 1
0
 public CurrencyPurchaseService(ICurrenciesExchangeService exchangeService,
                                ITransactionDbController transactionDbController,
                                IValidator <Transaction> validator
                                )
 {
     _exchangeService         = exchangeService;
     _transactionDbController = transactionDbController;
     _validator = validator;
 }
Exemplo n.º 2
0
 public ExchangeController(ICurrenciesExchangeService exchangeService)
 {
     _exchangeService = exchangeService;
 }