Example #1
0
        private async Task LoadQuestions()
        {
            this.categories = await CategoryClientFacade.GetAll();

            this.questions = await QuestionClientFacade.GetQuestionsAsync(new QuestionListQueryFilter()
            {
                PageIndex = this.PageIndex, Answered = false
            });
        }
Example #2
0
 protected override async Task OnInitializedAsync()
 {
     this.categories = await CategoryClientFacade.GetAll();
     await LoadQuestions();
 }