public async Task <ActionResult> OrderDetails([FromBody] OrderDetailsQuery request)
        {
            try
            {
                var dto = await Mediator.Send(request);

                return(Ok(dto));
            }
            catch (CustomerDetailsHttpResponseException)
            {
                return(ActionResultHelper.ToBadRequestActionResult(message: "Error While Fetching Customer Details", title: "Error", statusCode: StatusCodes.Status500InternalServerError));
            }
            catch (InvalidUser ex)
            {
                return(ActionResultHelper.ToBadRequestActionResult(message: ex.Message, title: "User Not Found", statusCode: StatusCodes.Status404NotFound));
            }

            catch (Exception ex)
            {
                return(ActionResultHelper.ToBadRequestActionResult(message: ex.Message, title: "Error", statusCode: StatusCodes.Status500InternalServerError));
            }
        }