예제 #1
0
 public SpeakerRepository(IOptions<Settings> settings)
 {
     _settings = settings.Options;
     _database = Connect();
 }
예제 #2
0
 public ArticleRepository(IOptions<Settings> settings)
 {
     _settings = settings.Value;
     _database = Connect();
 }