예제 #1
0
        /// <summary>
        /// Gets the mailing labels for the specified schedule event.
        /// </summary>
        /// <param name="eventId">Internal identifier of the event.</param>
        /// <returns>Mailing labels for the specified schedule event.</returns>
        public List <ScheduleEventMailingLabelInfo> GetMailingLabels(int eventId)
        {
            // Get an instance of the Schedule DAO using the DALFactory
            ISchedule dao = (ISchedule)DALFactory.DAO.Create(DALFactory.Module.Schedule);

            List <ScheduleEventMailingLabelInfo> mailingLabels =
                dao.GetMailingLabels(eventId);

            return(mailingLabels);
        }