Esempio n. 1
0
        public CancelReservationResponseDto CancelReservation(int bookingId)
        {
            var response = new CancelReservationResponseDto();

            response.IsCancelled = _iPmsLogic.CancelReservation(bookingId);
            if (response.IsCancelled)
            {
                response.Status = "Cancelled";
            }
            else
            {
                response.Status = "Not Cancelled";
            }
            return(response);
        }