/// <summary> /// Insert a game record into the database /// </summary> /// <param name="user">The game to insert</param> public void Execute(Entities.Game game) { Entities.GamePlayer player = new Entities.GamePlayer { Points = 0, User = new Entities.User { UserId = game.GameCreator_UserId } }; game.Players.Add(player); _insertGame.Execute(game); }