예제 #1
0
        /// <summary>
        /// Get list of Teams
        /// </summary>
        /// <returns>Teams</returns>
        public async Task <IEnumerable <Team> > GetTeams()
        {
            await _repo.SeedLeague();

            await _repo.SeedSports();

            await _repo.SeedTeams();

            return(await _repo.GetTeams());
        }