示例#1
0
        /// <summary>
        /// Get the design statuses of the specified parameters.
        /// </summary>
        /// <param name="userId">Internal identifier of the user.</param>
        /// <param name="category">Category of the designs.</param>
        /// <param name="status">Status of the designs.</param>
        /// <returns>The design statuses of the specified parameters.</returns>
        public List <DesignStatusInfo> GetDesignStatuses(int userId, int category,
                                                         int status)
        {
            // Get an instance of the Design DAO using the DALFactory
            IDesign dao = (IDesign)DALFactory.DAO.Create(DALFactory.Module.Design);

            List <DesignStatusInfo> designs =
                dao.GetDesignStatuses(userId, category, status);

            return(designs);
        }