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)); } }