示例#1
0
        /// <summary>
        /// Updates the design of the specified user.
        /// </summary>
        /// <param name="userId">Internal identifier of the user.</param>
        /// <param name="design">Design of the user.</param>
        public void Update(int userId, DesignInfo design)
        {
            // Get an instance of the Design DAO using the DALFactory
            IDesign dao = (IDesign)DALFactory.DAO.Create(DALFactory.Module.Design);

            try
            {
                dao.Update(userId, design);
            }
            catch
            {
                throw;
            }
        }