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