public ActionResult <List <League> > getLeagues() { LeagueManager LM = new LeagueManager(); List <League> leagues = LM.GetLeagues(); return(leagues); }