Esempio n. 1
0
        public BookingResponse Confirm(BookingRequest request)
        {
            return(writer.AddBooking(request));

            // Call DB Access and Confirm
            return(new BookingResponse
            {
                BookingStatus = BookingStatus.Confirmed,
                ConfirmationNumber = "1234",
                Guest = request.Guest,
                ReservationId = "3456"
            });
        }