public HomeController(IMemoryCache memoryCache, IAsk ask, ISettings settings, IParticipation participation, IDraws draws, IHubContext <UpdateHub> hubContext, UpdateHub hub, IOptions <DrawSettings> drawSettings, IOptions <SetupSettings> setupSettings, IOptions <FeaturesSettings> featuresSettings, IOptions <ColdStakingSettings> coldStakingSettings) { _memoryCache = memoryCache; _ask = ask; _settings = settings; _participation = participation; _draws = draws; _hub = hub; _hubContext = hubContext; _drawSettings = drawSettings.Value; _setupSettings = setupSettings.Value; _tickerSettings = tickerSettings.Value; _featuresSettings = featuresSettings.Value; _coldStakingSettings = coldStakingSettings.Value; }
public HomeController(IMemoryCache memoryCache, IAsk ask, IHubContext <UpdateHub> hubContext, UpdateHub hub, IOptions <SetupSettings> setupSettings, IOptions <FeaturesSettings> featuresSettings, IOptions <ColdStakingSettings> coldStakingSettings) { _memoryCache = memoryCache; _ask = ask; _hub = hub; _hubContext = hubContext; _setupSettings = setupSettings.Value; _featuresSettings = featuresSettings.Value; _coldStakingSettings = coldStakingSettings.Value; }