Exemplo n.º 1
0
 public CurrencyController(TransactionsDBContext transactionsDBContext, IConfiguration configuration, ILogger <CurrencyController> logger, HBCurrencyController hBCurrencyController)
 {
     _dBContext            = transactionsDBContext;
     _configuration        = configuration;
     _nbuApi               = configuration.GetConnectionString("NbuApiExchange");
     _logger               = logger;
     _hBCurrencyController = hBCurrencyController;
 }
 public ReportController(TransactionsDBContext dBContext,
                         CurrencyController currencyExchDatesController,
                         HBCurrencyController hBCurrencyController,
                         TransactionsController transactionsController)
 {
     _dBContext = dBContext;
     _currencyExchDatesController = currencyExchDatesController;
     _hBCurrencyController        = hBCurrencyController;
     _transactionsController      = transactionsController;
 }