예제 #1
0
        public async Task <List <PendingRequestsProjection> > GetPendingRequests()
        {
            var query  = new GetPendingRequestsProjectionQuery();
            var result = await _queryProcessor.Process(query);

            return(result);
        }
예제 #2
0
 public Task <List <PendingRequestsProjection> > Handle(GetPendingRequestsProjectionQuery query)
 {
     return(_context.PendingRequestsProjection.ToListAsync());
 }