public async Task PendingQuestionsEmptyQuery_Ok(string country) { var query = new PendingQuestionsQuery(country); await _fixture.QueryBus.QueryAsync(query, default); }
public async Task <IEnumerable <PendingQuestionDto> > Get(CancellationToken token) { var query = new PendingQuestionsQuery(User.GetCountryClaim()); return(await _queryBus.QueryAsync(query, token)); }