public MatchRepository(LoadDbContext loadDbContext, IConfiguration configuration, IOptions <ViewModels.SiteSetttings> siteSetttings, IOptions <ViewModels.TimerSettings> timerSettings) { _dbContext = loadDbContext.DbContext; _siteSetttings = siteSetttings.Value; _timerSettings = timerSettings.Value; _domain = configuration["DomainHosting"]; }
public MatchRepository(HighLightsContext dbContext, IOptions <ViewModels.SiteSetttings> siteSetttings) { _dbContext = dbContext; _siteSetttings = siteSetttings.Value; }