Exemple #1
0
 public BorrowedGameController(IServiceBorrowedGame serviceBorrowedGame)
 {
     _serviceBorrowedGame = serviceBorrowedGame;
 }
Exemple #2
0
 public BorrowedGameTest(IntegrationTestFixture fixture)
 {
     _serviceBorrowedGame = fixture.ServiceProvider.GetRequiredService <IServiceBorrowedGame>();
     _serviceGame         = fixture.ServiceProvider.GetRequiredService <IServiceGame>();
     _serviceFriend       = fixture.ServiceProvider.GetRequiredService <IServiceFriend>();
 }