public StocksDataApi(IMapper mapper, ITradingSimulationResultRepository tradingSimulationResultRepository, IStockQuoteRepository stockQuoteRepository, ICompanyRepository companyRepository, ILogger logger, IDatabaseManagementService databaseManagementService, IStockQuotesDownloadService stockQuotesDownloadService, IStockQuotesMigrationFromCsv stockQuotesMigrationFromCsv, IProjectSettings projectSettings, ITradingSimulator tradingSimulator, IProgressReportable progressReporter, Microsoft.Extensions.Configuration.IConfiguration configuration, IStockUpdateService stockUpdateService) { _mapper = mapper; _tradingSimulationResultRepository = tradingSimulationResultRepository; _stockQuoteRepository = stockQuoteRepository; _companyRepository = companyRepository; _logger = logger; _databaseManagementService = databaseManagementService; _stockQuotesDownloadService = stockQuotesDownloadService; _stockQuotesMigrationFromCsv = stockQuotesMigrationFromCsv; _projectSettings = projectSettings; _tradingSimulator = tradingSimulator; _progressReporter = progressReporter; _configuration = configuration; _stockUpdateService = stockUpdateService; }
public StockUpdateService(IStockQuoteRepository stockQuoteRepository, ILogger logger, IDownloader downloader, IProjectSettings projectSettings, IStockQuotesDownloadService stockQuotesDownloadService, IStocksBulkDeserializer stocksBulkDeserializer, ICompanyRepository companyRepository) { _stockQuoteRepository = stockQuoteRepository; _logger = logger; _downloader = downloader; _projectSettings = projectSettings; _stockQuotesDownloadService = stockQuotesDownloadService; _stocksBulkDeserializer = stocksBulkDeserializer; _companyRepository = companyRepository; }