Beispiel #1
0
        /// <summary>
        /// Fetches all the bookings from a person
        /// </summary>
        /// <param name="userId">The id of the person</param>
        /// <returns>Returns a List of Interfaces of Booking</returns>
        public IEnumerable <IBooking> FetchBookings(string userId)
        {
            var bookings = _personRegister.FetchBookings(userId);

            return(bookings);
        }