Esempio n. 1
0
        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));
        }
Esempio n. 2
0
 public async Task AdminUserPurchasedDocsQuery_Ok()
 {
     var query = new UserPurchasedDocsQuery(159039, 0, "IL");
     await _fixture.QueryBus.QueryAsync(query, default);
 }