public ITeam RegisterTeam(ArrayOfJugadores jugadores) { var team = new Team(); foreach (var j in jugadores.Jugadores) { var player = _playerFactory.RegisterPlayer(j); team.Add(player); } return(team); }