public TransactionService( IBankAccountService bankAccountService, ICurrencyService currencyService, IExchangeRateHistoryService exchangeRateHistoryService, IRepository <Transaction> transactionRepository, IBankAccountRepository bankAccountRepository, IUnitOfWork unitOfWork, ILogger <IBankAccountService> logger ) { this.BankAccountService = bankAccountService; this.CurrencyService = currencyService; this.ExchangeRateHistoryService = exchangeRateHistoryService; this.TransactionRepository = transactionRepository; this.BankAccountRepository = bankAccountRepository; this.UnitOfWork = unitOfWork; this.Logger = logger; }
public ExchangeRateController(CurrentLoginInfo currentLoginInfo, IExchangeRateHistoryService exchangeRateHistoryService, ILogger <IExchangeRateController> logger) { this.CurrentLoginInfo = currentLoginInfo; this.ExchangeRateHistoryService = exchangeRateHistoryService; this.Logger = logger; }