示例#1
0
 /// <summary>
 /// 管理员删除用户评论
 /// </summary>
 /// <param name="CommentID">评论id</param>
 /// <returns></returns>
 public JsonResult DelComment(string CommentID)
 {
     if (CommentBll.CommentDelAdmin(Convert.ToInt32(CommentID)))
     {
         return(Json(1, JsonRequestBehavior.AllowGet));
     }
     return(Json(0, JsonRequestBehavior.AllowGet));
 }