public SpeakerRepository(IOptions<Settings> settings) { _settings = settings.Options; _database = Connect(); }
public ArticleRepository(IOptions<Settings> settings) { _settings = settings.Value; _database = Connect(); }