Example #1
0
 public async Task <Response> Handle(Request request, CancellationToken cancellationToken)
 => new Response()
 {
     Orders = await _context.Orders.Select(x => OrderDto.FromOrder(x)).ToListAsync()
 };