public int Post() { bool newThread = (this.threadID < 0); if (newThread) { this.CreateThread(); } if (this.postID > -1) { this.UpdatePost(); } else { this.CreatePost(); if (!newThread) { this.IncrementReplyStats(); } } if (this.subscribeUserToThread) { if (!DBForums.ForumSubscriptionExists(this.forumID, this.postUserID)) { DBForums.ForumThreadAddSubscriber(this.threadID, this.postUserID, Guid.NewGuid()); } } if (this.postID > -1) { ContentChangedEventArgs e = new ContentChangedEventArgs(); OnContentChanged(e); } return(this.postID); }