public ScrapeJob(IOptions <BetOptions> options, IServiceProvider provider, ILogger <ScrapeJob> logger, IHubContext <FixturesFeed> hubContext) { _hubContext = hubContext; _options = options.Value; _provider = provider; _logger = logger; }
public BetService(IOptions <BetOptions> options, BettyContext context, IHttpContextAccessor httpContext, IMailerService mail, ILogger <BetService> logger, IHubContext <FixturesFeed> hubContext) { _options = options.Value; _context = context; _httpContext = httpContext.HttpContext; _mail = mail; _logger = logger; _hubContext = hubContext; }