Example #1
0
        /// <summary>
        /// Fetches a booking
        /// </summary>
        /// <param name="userId">The Id of the User</param>
        /// <param name="bookingId">The Id of the booking</param>
        /// <returns>Returns an Interface of the Booking</returns>
        public IBooking FetchBooking(string userId, int bookingId)
        {
            var bookings = _personRegister.FetchBooking(userId, bookingId);

            return(bookings);
        }