public CommentListModel GetComments(Guid entityId, string culture) { var comments = this._commentManager.GetComments(entityId, culture); CommentListModel list = new CommentListModel(); list.EntityId = entityId; list.Culture = culture; list.ChildComments = this.CreateCommentTree(comments, null); return list; }
public CommentListModel GetComments(Guid entityId, string culture) { var comments = this._commentManager.GetComments(entityId, culture); CommentListModel list = new CommentListModel(); list.EntityId = entityId; list.Culture = culture; list.ChildComments = this.CreateCommentTree(comments, null); return(list); }