public async Task <IEnumerable <League> > Get() { var leagues = await _leaguesRepository.GetAllDocuments(); return(leagues); }
public async Task <IEnumerable <Team> > Get() { var teams = await _teamsRepository.GetAllDocuments(); return(teams); }