public ActionResult UpdateComment(string commentId, CommentStatus status = CommentStatus.Disable)
        {
            var pageCommentStore = CommentHelper.GetCommentStoreName();
            var id      = EPiServer.Data.Identity.NewIdentity(new Guid(commentId));
            var comment = CommentHelper.GetCommentById(pageCommentStore, id);

            if (comment != null)
            {
                if (status == CommentStatus.Enable || status == CommentStatus.Disable)
                {
                    comment.IsDeleted = status == CommentStatus.Disable ? true : false;
                    CommentHelper.UpdateComment(pageCommentStore, comment);
                }
                else
                {
                    CommentHelper.Delete(pageCommentStore, id);
                }
            }
            else
            {
                return(Json(new
                {
                    status = "error",
                    message = "Not found"
                }, JsonRequestBehavior.AllowGet));
            }

            return(Json(new
            {
                status = "ok",
                pageId = comment.PageId
            }, JsonRequestBehavior.AllowGet));
        }
        private void Delete()
        {
            var ids = Utility.GetListint(GetString("ids"));

            foreach (var id in ids)
            {
                CommentHelper.Delete(id);
            }
        }