public async Task <IEnumerable <UserQuestionsDto> > GetUserQuestionsDetails(long id, int page, CancellationToken token) { var country = User.GetCountryClaim(); var query = new UserQuestionsQuery(id, page, country); return(await _queryBus.QueryAsync(query, token)); }
public async Task AdminUserQuestionsQuery_Ok() { var query = new UserQuestionsQuery(159039, 0, "IL"); await _fixture.QueryBus.QueryAsync(query, default); }