public IEnumerable <Comment> GetAllReplies() { ICommentData comments = new CommentData(); _result = comments.GetRepliesById(this.Id); Sort(); return(_result); }
public IList <Comment> GetRepliesForThisComment() { ICommentData commentData = new CommentData(); var comments = new List <Comment>(); var reply = commentData.GetRepliesById(this.Id); comments = comments.Concat(reply).ToList(); return(comments); }