You can use the attribute prefix asp-route- to prefix your route variable names.
Example:
<a asp-controller="Product" asp-action="GetProduct" asp-route-id="10"> ProductName</a>
You can use the attribute prefix asp-route- to prefix your route variable names.
Example:
<a asp-controller="Product" asp-action="GetProduct" asp-route-id="10"> ProductName</a>