private IEnumerable <Player> GetPlayers(int gameId) { // Get Players of the game return(_playerCache.List().Where(x => x.GameId == gameId)); }
public IEnumerable <Player> List(int gameId) { return(_playerCache.List(gameId)); }