Пример #1
0
        public JsonResult LoadComment()
        {
            var list            = dao.ListComment(NewsID, WebYoutube.Session.User.Id);
            var CommentNewCount = dao.CommentNewCount(NewsID);


            return(Json(new
            {
                status = true,
                data = list,
                CommentNewCount = CommentNewCount
            }, JsonRequestBehavior.AllowGet));
        }