public ForexPriceIndicatorMap(IMapper mapper, IOptions <Settings> settings, ForexIndicatorMap indicatorMap) { _mapper = mapper; _context = new DbContext(settings); _forexAppServiceBase = settings.Value.ForexAppServiceBase; _indicatorMap = indicatorMap; }
public ForexRuleMap(IMapper mapper, IOptions <Settings> settings, ForexDailyPriceMap dailyPriceMap, ForexIndicatorMap indicatorMap) { _mapper = mapper; _context = new DbContext(settings); _dailyPriceMap = dailyPriceMap; _indicatorMap = indicatorMap; }