title: Combine asp-route-id with asp-route-all-data
body: <p>Is there any way to make this work?</p>
  
  <pre><code>&lt;a class="btn btn-info" asp-action="ActionName" asp-route-id="@item.ID"
                         asp-all-route-data="parms" &gt;Action&lt;/a&gt;
  </code></pre>
  
  <p>This generates the following link:</p>
  
  <pre><code>sitename.com/controller/action?parm1=parm1&amp;parm2=parm2
  </code></pre>
  
  <p>etc.  I want it to generate this:</p>
  
  <pre><code>sitename.com/controller/action/{id}?parm1=parm1&amp;parm2=parm2
  </code></pre>
  
  <p>It seems as though you cannot combine the route-id with asp-route-all-data.  It is a link on a table and so my ID changes with each row, the rest of the filters (searchstrings, pages, sorts, etc) do not change.  Would save a lot of copying and pasting if this would work.</p>
  
  <p>While writing this I realized I could probably make a Viewmodel with a Dictionary of items AND an IEnumerable of my Model, rather than just using my model as is.  Is there any other (simpler) way of making this work?</p>