示例#1
0
 /// <summary>
 /// 删除文章留言
 /// </summary>
 /// <param name="articleMessage"></param>
 public virtual void DeleteArticleMessage(ArticleMessage articleMessage)
 {
     Guard.IsNotNull(articleMessage, "articleMessage");
     ArticleMessages.Remove(articleMessage);
 }
示例#2
0
 /// <summary>
 /// 添加文章留言
 /// </summary>
 /// <param name="articleMessage"></param>
 public virtual void AddArticleMessage(ArticleMessage articleMessage)
 {
     Guard.IsNotNull(articleMessage, "articleMessage");
     ArticleMessages.Add(articleMessage);
 }