public async Task AddGameLobbyToDb_Success()
        {
            //Arrange
            var gameLobby = TestData.GameLobbies.FlorisLobby !;

            //Act
            await _gameLobbyRepository.AddGameLobby(gameLobby);

            GameLobby lobby = await _gameLobbyRepository.GetGameLobbyByLobbyCode(gameLobby.Code);

            //Assert
            Assert.IsNotNull(lobby);
        }
 public async Task <GameLobby> GetGameLobbyById(string lobbyCode)
 {
     return(await _gameLobbyRepository.GetGameLobbyByLobbyCode(lobbyCode));
 }