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