Exemple #1
0
        private async Task SetBetRatesForAllLeaguesAsync()
        {
            _rateRepository.Clear();

            var leagues = (await _leagueRepository.GetLeaguesAsync(true, true))
                          .ToList()
                          .GetEmptyIfNull();

            await SetRatesForLeagues(leagues);
        }