예제 #1
0
        public async Task <IActionResult> GetAll([FromQuery] GetAllBookingsRequestQueryString requestQueryString)
        {
            var response = await Mediator.Send(new GetAllBookingsQuery(requestQueryString));

            return(Ok(response));
        }
예제 #2
0
 public GetAllBookingsQuery(GetAllBookingsRequestQueryString bookingsRequestQueryString)
 {
     BookingsRequestQueryString = bookingsRequestQueryString;
 }