Beispiel #1
0
        /// <summary>
        /// Deletes the specified design.
        /// </summary>
        /// <param name="designId">Internal identifier of the design to delete.</param>
        /// <param name="userId">Internal identifier of the user.</param>
        public void Delete(int designId, int userId)
        {
            // Get an instance of the Design DAO using the DALFactory
            IDesign dao = (IDesign)DALFactory.DAO.Create(DALFactory.Module.Design);

            try
            {
                dao.Delete(designId, userId);
            }
            catch
            {
                throw;
            }
        }