Example #1
0
        /// <summary>
        /// Get the designs of the specified user.
        /// </summary>
        /// <param name="userId">Internal identifier of the user.</param>
        /// <returns>Designs of the specified user.</returns>
        public List <DesignInfo> GetList(int userId)
        {
            // Get an instance of the Design DAO using the DALFactory
            IDesign dao = (IDesign)DALFactory.DAO.Create(DALFactory.Module.Design);

            List <DesignInfo> designs = dao.GetList(userId);

            return(designs);
        }