Beispiel #1
0
 public Task <Response> Handle(Request request, CancellationToken cancellationToken)
 => Task.FromResult(new Response()
 {
     Products = _repository.Query <Product>().Select(x => ProductDto.FromProduct(x)).ToList()
 });