private async void GetRoundsFromEnabledQuiz()
        {
            var rounds = await _roundService.GetAllRoundsByEnabledQuiz();

            QuizRounds.Clear();
            foreach (var round in rounds)
            {
                QuizRounds.Add(round);
            }
        }
Ejemplo n.º 2
0
        private async void GetRoundsFromEnabledQuiz()
        {
            Rounds = await _roundService.GetAllRoundsByEnabledQuiz();

            RaisePropertyChanged(() => Rounds);
        }