Esempio n. 1
0
        public ActionResult <bool> CancelFlight([FromQuery] string TripId, [FromQuery] string PNR)
        {
            var output = _tripService.CancelFlight(TripId, PNR);

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