public virtual bool WasChanged(CommentModel comment) { return(comment.CreatedDate != comment.ModifyDate); }
public virtual bool IsReply(CommentModel comment) { return(comment.ParentId.HasValue); }
public virtual bool CanDelete(CommentModel comment, Guid editorId) { return(comment.UserId == editorId); }