Hi All,
I am using the default tag helper to pass a single parameter to different controllers & actions as follow:
<a asp-controller="pie" asp-action="details" asp-route-id="@Model.Id">@Model.Name</a>
It generates for example -> http://localhost:5000/pie/details?id=6
In the same page, there is another link for cart module:
<a asp-controller="cart" asp-action="addtocart" asp-route-id="@Model.Id">Add to cart</a>
And this one, it generates another style -> http://localhost:5000/cart/addtocart/6
The first one comes with (?) and the second one will be with (/). Is it possible to unify the style here for URL parameters with same signature (asp-route-id)?
-PXC