私の見解では、これが ASP MVC コードです。コントローラーに発火し、assetId と relationshipContext を渡します。
 @Html.ActionLink("Archive", "Archive", new { assetId = Model.ID, relationshipContext = assetTypeRelation.RelationshipContextID }, new { @class = "btn btn-mini btn-warning", id = "btnArchive" })
この HTML.ActionLink で Ajax を利用したいのですが、少し混乱しています。これが私が始めたjQueryです。基本的に、このアクションリンクが必要なのは、assetId と relationshipContext を私の資産コントローラーの Archive メソッドに渡すためだけです。
$('#btnArchive').click(function(){
                  $.ajax({
                      url: '@Url.Action("Archive", "Archive")',
                      type: 'POST',
                      dataType: 'json',
                      data: {
                          assetId: $(this).attr("assetId"),
                          relationshipContext: $(this).attr("relationshipContext"),
                      },
                      success: function(){
                          alert("success")
                      },
                      error: function () {
                          alert("error")
                      },
                  });