Esempio n. 1
0
 public GameService(IConfiguration config, MongoClientService mongoClientService)
 {
     _games = mongoClientService.database.GetCollection <Game>("Games");
 }
Esempio n. 2
0
 public AppService(IConfiguration config, MongoClientService mongoClientService, IHttpClientFactory clientFactory)
 {
     _Apps      = mongoClientService.database.GetCollection <App>("Apps");
     _clientApi = clientFactory.CreateClient("steam-api");
 }