public ActionResult DeleteLeague(League league) { var manager = new LeagueManager(); manager.DeleteLeagueById(league.Id); return(RedirectToAction("Leagues")); }