You can use the attribute prefix asp-route- to prefix your route variable names.
Example: <a asp-action="Edit" asp-route-id="10" asp-route-foo="bar">Edit</a>
You can use the attribute prefix asp-route- to prefix your route variable names.
Example: <a asp-action="Edit" asp-route-id="10" asp-route-foo="bar">Edit</a>