Example #1
0
        private async Task SaveLeaguesAsync(IEnumerable <LeagueEntity> leagues)
        {
            await _leagueRepository.AddLeaguesAsync(leagues);

            await _leagueRepository.SaveChangesAsync();
        }