public CatergoryTask(PuppeteerEngine engine, ILogger <CatergoryTask> logger, IOptions <AppSettings> settings, IServiceScopeFactory services) { serviceScopeFactory = services; _engine = engine; _logger = logger; _settings = settings.Value; }
public OddsTask(PuppeteerEngine engine, ILogger <CatergoryTask> logger, IOptions <AppSettings> settings, IServiceScopeFactory services, IOptions <RedisConfiguration> redis, IRedisConnectionFactory factory) { serviceScopeFactory = services; _logger = logger; _settings = settings.Value; _redis = redis.Value; _fact = factory; _engine = engine; }