コード例 #1
0
ファイル: CommentController.cs プロジェクト: JTY520/for-home
        public JsonResult DeleteComment(int commentId)
        {
            bool   reasult = _commentApplication.DeleteComment(commentId);
            string message = null;

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