示例#1
0
        public bool Subscribe(int userId)
        {
            if (DBForums.ForumSubscriptionExists(this.itemID, userId))
            {
                return(true);
            }

            return(DBForums.AddSubscriber(this.itemID, userId, Guid.NewGuid()));
        }