private async Task CreatePosition(Game game, Models.Player player, PlayerPositionTypes position, Db db) { db.PlayerPositions.Add(new PlayerPosition { GameId = game.Id, PlayerId = player.Id, Position = position }); await db.SaveChangesAsync(); }