public async Task <IEnumerable <SuspendedUsersDto> > GetSuspended(CancellationToken token) { var country = User.GetCountryClaim(); var query = new SuspendedUsersQuery(country); return(await _queryBus.QueryAsync(query, token)); }
public async Task SuspendedUsersEmptyQuery_Ok() { var query = new SuspendedUsersQuery("IL"); await _fixture.QueryBus.QueryAsync(query, default); }