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