Example #1
0
        /// <summary>
        /// Cancels the specified scheduled event.
        /// </summary>
        /// <param name="eventId">Internal identifier of the event.</param>
        /// <param name="notes">Notes of the mailing event.</param>
        /// <param name="userId">Internal identifier of the user.</param>
        public void CancelEvent(int eventId, string notes, int userId)
        {
            // Get an instance of the Schedule DAO using the DALFactory
            ISchedule dao = (ISchedule)DALFactory.DAO.Create(DALFactory.Module.Schedule);

            try
            {
                dao.CancelEvent(eventId, notes, userId);
            }
            catch
            {
                throw;
            }
        }