// GET: Teams/Details/5
        public IActionResult Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var team = LeagueManager.GetTeamById(id.Value);

            if (team == null)
            {
                return(NotFound());
            }

            return(View(team));
        }