Ejemplo n.º 1
0
 /// <summary>
 /// Updates an existing game
 /// </summary>
 public static void UpdateExistingGame(Game game)
 {
     IPingPongRepository<Game> _repo = new PingPongRepository<Game>();
     _repo.Update(game);
 }
 /// <summary>
 /// Updates an existing Player
 /// </summary>
 public static void UpdateExistingPlayer(Player player)
 {
     IPingPongRepository<Player> _repo = new PingPongRepository<Player>();
     _repo.Update(player);
 }