public async Task <IEnumerable <FlaggedAnswerDto> > FlagAsync(CancellationToken token) { var query = new FlaggedAnswerQuery(User.GetCountryClaim()); return(await _queryBus.QueryAsync(query, token)); }
public async Task FlaggedAnswerEmptyQuery_Ok(string country) { var query = new FlaggedAnswerQuery(country); await _fixture.QueryBus.QueryAsync(query, default); }