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