Пример #1
0
 /// <summary>
 /// Creates a new game
 /// </summary>
 public static void CreateNewGame(Game game)
 {
     IPingPongRepository<Game> _repo = new PingPongRepository<Game>();
     _repo.Create(game);
 }
 /// <summary>
 /// Creates a new Player
 /// </summary>
 public static void CreateNewPlayer(Player player)
 {
     IPingPongRepository<Player> _repo = new PingPongRepository<Player>();
     _repo.Create(player);
 }