Exemplo n.º 1
0
 public Player Register(Player player)
 {
     using (var context = new ScoreSquidContext())
     {
         return commands.RegisterPlayer(context, player);
     }
 }
Exemplo n.º 2
0
 public Player RegisterPlayer(ScoreSquidContext context, Player player)
 {
     context.Players.Add(player);
     context.Save();
     return player;
 }
Exemplo n.º 3
0
 public Player Register(Player player)
 {
     return playerRepository.Register(player);
 }