title: how modify path in asp-action
body: <p>I have a form in C# ASP, and two buttons submit with different path.</p>
  <pre><code>&lt;form asp-action=&quot;&quot;&gt;
  
  &lt;button type=&quot;submit&quot; data-action=&quot;Liquidation&quot; class=&quot;btn-method-switchable&quot;&gt;
  &lt;button type=&quot;submit&quot; data-action=&quot;Return&quot; class=&quot;btn-method-switchable&quot;&gt;
  </code></pre>
  <p>I try to modify the path with Jquery like that :</p>
  <pre><code>$('.btn-method-switchable').click(function(e) {
  e.preventDefault();
  let value = $(this).data('action')
  $('form').attr('asp-action', value);
  $('form').submit();
  })
  </code></pre>
  <p>I enter in my Controller but not on the method Liquidation or Return.</p>
  <p>Thanks for your answers</p>