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