public async Task <IActionResult> GetAll([FromQuery] GetAllBookingsRequestQueryString requestQueryString) { var response = await Mediator.Send(new GetAllBookingsQuery(requestQueryString)); return(Ok(response)); }
public GetAllBookingsQuery(GetAllBookingsRequestQueryString bookingsRequestQueryString) { BookingsRequestQueryString = bookingsRequestQueryString; }