阅读背景:

我不能在mvc核心中使用ajax post作为Json Formatting从动作中获取对象

来源:互联网 
 $(document).on("click", "#StudentDelete", function () {
        var Id = $(this).attr("data-id");
        alert(gelenId);
        $.ajax({
            url: '/SchoolRepo/DeleteStudent/' + Id,
            type: "POST",
            datatype: "Json",
            success: function (response) {
                if (response.Success) {
                    location.reload();
                    alert(response.Message);
                }
                else {
                    alert(response.Message);
                }
            }
        });

    });
 $(document).on("click", "#StudentDelete", func



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: