Пример #1
0
        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));
        }
Пример #2
0
 public async Task AdminUserQuestionsQuery_Ok()
 {
     var query = new UserQuestionsQuery(159039, 0, "IL");
     await _fixture.QueryBus.QueryAsync(query, default);
 }