public StatisticsProcessor(string connectionString, TransactionLogoCalculator logoCalculator) { _transactionProcessor = new TransactionProcessor(connectionString, logoCalculator); _accountProcessor = new AccountProcessor(connectionString); }
public TransactionProcessor(string connectionString, TransactionLogoCalculator logoCalculator) { _connectionString = connectionString; _logoCalculator = logoCalculator; _transactionDataService = new FinanceAPIMongoDataService.DataService.TransactionsDataService(_connectionString); }