public ActionResult AddLeague(League league) { leagueRepository.AddNewLeague(league); return(RedirectToAction("ShowLeagueDetails", new { id = league.Id })); }
public ActionResult AddLeague(League league) { leagueRepository.AddNewLeague(league); return(RedirectToAction("ShowLeagueDetails", new { id = league.Id })); }