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