public void deleteTeamById() { Console.WriteLine("What Team id:"); string teamIdAsString = Console.ReadLine(); int teamID = int.Parse(teamIdAsString); DevTeam targetTeam = findTeamInRepoById(teamID); _allDevTeams.AllTeamsAsList().Remove(targetTeam); }