restful api paramater - ASP.NET core MVC
<a asp-controller="Speaker"
asp-action="Detail"
asp-route-id="@Model.SpeakerId">SpeakerId: @Model.SpeakerId</a>
-- Result --
<a href="/Speaker/Detail/12">SpeakerId: 12</a>
-- lưu ý là asp router id => /{id} => paramater => restful api = /:id