Ejemplo n.º 1
0
        public ActionResult <bool> CancelCar([FromQuery] string TripId, [FromQuery] string Id)
        {
            var output = _tripService.CancelCar(TripId, Id);

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