public async Task <IEnumerable <string> > GetSubjects(CancellationToken token)
        {
            var query  = new SubjectsQuery(User.GetIdClaim());
            var retVal = await _queryBus.QueryAsync(query, token);

            return(retVal);
        }
Exemple #2
0
 public async Task AdminSubjectsQuery_Ok()
 {
     var query = new SubjectsQuery(Guid.Parse("6942483C-4CEF-4256-B9A1-0CAE272C54B4"));
     await _fixture.QueryBus.QueryAsync(query, default);
 }