Пример #1
0
        public DateTime FindNextOpenTableForPartySize(int numberOfSeats, DateTime start)
        {
            var timeSlots = reservationManager.GetTimeSlotsFrom(start);
            var tables    = tableManager.GetAllTables();

            return(FindAvailableTimeForReservation(numberOfSeats, timeSlots, tables));
        }