public Task <Response> Handle(Request request, CancellationToken cancellationToken) => Task.FromResult(new Response() { Bookings = _repository.Query <Booking>().Select(x => BookingDto.FromBooking(x)).ToList() });
public Task <Response> Handle(Request request, CancellationToken cancellationToken) => Task.FromResult(new Response() { Booking = BookingDto.FromBooking(_repository.Query <Booking>().Single(x => x.BookingId == request.BookingId)) });