示例#1
0
        public ActionResult <bool> CancelHotel([FromQuery] string TripId, [FromQuery] string Id)
        {
            var output = _tripService.CancelHotel(TripId, Id);

            if (output)
            {
                return(Ok(output));
            }
            else
            {
                return(BadRequest(output));
            }
        }