예제 #1
0
        public JsonResult CommentDelete(int CommentID)
        {
            string result = string.Empty;

            ArticleComments ac    = new ArticleComments();
            Boolean         check = ac.CommentDelete(CommentID);

            if (check)
            {
                result = "OK";
            }
            else
            {
                result = "FAIL";
            }

            return(Json(result, JsonRequestBehavior.AllowGet));
        }