Ejemplo n.º 1
0
        public ActionResult DeleteLeague(League league)
        {
            var manager = new LeagueManager();

            manager.DeleteLeagueById(league.Id);

            return(RedirectToAction("Leagues"));
        }