Exemple #1
0
 public Player Create(Player Player)
 {
     context.Players.Add(Player);
     context.SaveChanges();
     return(Player);
 }
Exemple #2
0
 public Game Create(Game Game)
 {
     context.Games.Add(Game);
     context.SaveChanges();
     return(Game);
 }