예제 #1
0
        public IActionResult DeleteBooing(string bookingID)
        {
            bool IsRideDeleted = bookingRequest.DeleteBookingById(bookingID);

            if (IsRideDeleted)
            {
                return(Ok());
            }
            else
            {
                return(BadRequest("Unable to delete Booking"));
            }
        }