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