public async Task <IEnumerable <League> > Get()
        {
            var leagues = await _leaguesRepository.GetAllDocuments();

            return(leagues);
        }
예제 #2
0
        public async Task <IEnumerable <Team> > Get()
        {
            var teams = await _teamsRepository.GetAllDocuments();

            return(teams);
        }