Exemple #1
0
        /// <summary>
        /// Firms up the specified farm.
        /// </summary>
        /// <param name="farmId">Internal identifier of the farm.</param>
        /// <param name="planId">Internal identifier of the mailing plan.</param>
        /// <param name="startDate">Date on which the mailing plan starts.</param>
        /// <param name="userId">Internal identifier of the user.</param>
        public void FirmUp(int farmId, int planId, DateTime startDate, int userId)
        {
            // Get an instance of the Schedule DAO using the DALFactory
            ISchedule dao = (ISchedule)DALFactory.DAO.Create(DALFactory.Module.Schedule);

            try
            {
                dao.FirmUp(farmId, planId, startDate, userId);
            }
            catch
            {
                throw;
            }
        }