예제 #1
0
        /// <summary>
        /// Gets the scheduled events of the specified schedule.
        /// </summary>
        /// <param name="scheduleId">Internal identifier of the schedule.</param>
        /// <returns>Scheduled events of the specified schedule.</returns>
        public ScheduleInfo GetEvents(int scheduleId)
        {
            // Get an instance of the Schedule DAO using the DALFactory
            ISchedule dao = (ISchedule)DALFactory.DAO.Create(DALFactory.Module.Schedule);

            ScheduleInfo schedule = dao.GetEvents(scheduleId);

            return(schedule);
        }