示例#1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:QuickAccessLinkModel" /> instances.
        /// </summary>
        /// <param name="userId">
        ///     The value which identifies the <see cref="!:QuickAccessLinkModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:QuickAccessLinkModel" /> instances that match the specified <paramref name="userId" />.
        /// </returns>
        public static IEnumerable <Consensus.UserInterface.QuickAccessLink> FetchAllByUserId(System.Int32 userId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(QuickAccessLink.FetchAllByUserId(site, userId));
        }