Exemplo n.º 1
0
 public ApplicationBatchService(ApplicationDbContext context, IStockMarketDataUpdater stockMarketDataUpdater, IFinancialStatementUpdater financialStatementUpdater, IStockEvaluator stockEvaluator)
 {
     _context = context;
     _stockMarketDataUpdater    = stockMarketDataUpdater;
     _financialStatementUpdater = financialStatementUpdater;
     _stockEvaluator            = stockEvaluator;
 }
 public RefreshDataController(ApplicationDbContext context, IStockMarketDataUpdater stockMarketDataUpdater, IFinancialStatementUpdater financialStatementUpdater, IStockEvaluator stockEvaluator, IAuthorizationService authorizationService)
 {
     _context = context;
     _stockMarketDataUpdater    = stockMarketDataUpdater;
     _financialStatementUpdater = financialStatementUpdater;
     _stockEvaluator            = stockEvaluator;
     _authorizationService      = authorizationService;
 }