is null
public class ConfigService : IConfigService { private readonly Configs _configs; public ConfigService(IOptions<Configs> configs) { _configs = configs.Value; } public void SetYear(int year) { _configs.ConfigurableYear = year; }}
services.Configure<Configs>(options => Configuration.GetSection("ConfigurableYear").Bind(options));