示例#1
0
        public async Task <IEnumerable <SuspendedUsersDto> > GetSuspended(CancellationToken token)
        {
            var country = User.GetCountryClaim();
            var query   = new SuspendedUsersQuery(country);

            return(await _queryBus.QueryAsync(query, token));
        }
示例#2
0
 public async Task SuspendedUsersEmptyQuery_Ok()
 {
     var query = new SuspendedUsersQuery("IL");
     await _fixture.QueryBus.QueryAsync(query, default);
 }