Exemplo n.º 1
0
 public void AddComment(ModelComment comment)
 {
     if (comments.FirstOrDefault(c => c.CommentId.Equals(comment.CommentId)) == null)
     {
         comments.Add(comment);
     }
 }
Exemplo n.º 2
0
 public void addNestedComment(ModelComment comment)
 {
     nestedComment.Add(comment);
 }