Пример #1
0
        public JsonResult PublishComment(int commentId)
        {
            bool   reasult = _commentApplication.PublishComment(commentId);
            string message = null;

            if (reasult == false)
            {
                message = "失败";
                return(Json(message));
            }
            else
            {
                message = "成功";
                return(Json(message));
            }
        }