📅  最后修改于: 2022-03-11 15:01:29.829000             🧑  作者: Mango
@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "__AjaxAntiForgeryForm" }))
{
@Html.AntiForgeryToken()
}
Click me to send an AJAX request to a controller action
decorated with the [ValidateAntiForgeryToken] attribute