public ActionResult ViewTeam(int ViewID)
        {
            PopulateDropDowns();
            TeamDAO ChosenTeam = new TeamDAO();

            ChosenTeam.TeamID = ViewID;
            TeamPO     MappedTeam  = mapper.SelectTeamMap(teamData.SelectTeam(ChosenTeam));
            List <int> chosenTypes = mapper.TypeIDMap(MappedTeam);
            TypeDAO    FinalValues = teamData.CalculateTypes(chosenTypes);

            MappedTeam.MaxName  = FinalValues.MaxName;
            MappedTeam.Max2Name = FinalValues.Max2Name;
            MappedTeam.MinName  = FinalValues.MinName;
            MappedTeam.Min2Name = FinalValues.Min2Name;
            return(View(MappedTeam));
        }