public ActionResult AddLeague(League league) { if (ModelState.IsValid) { var manager = new LeagueManager(); manager.AddLeague(league); return(RedirectToAction("Leagues")); } return(View()); }