I have a role based @html.ActionLink() .Which show or hide link based on user permission.ASP.NET MVC5 Default @html.ActionLink() works fine.
But i want to pass angularjs value as a route value.
@Html.ActionLink("Edit", "Edit", "Branches", new { id = "{{branch.BranchId}}" })
but this code render following code
<a href="/Branches/Edit?Length=8" id="22">Edit</a>
i found this link but can't find a solution. @Html.ActionLink and Angularjs value? I want to pass angularjs value using actionLink() not Url.Action()
Thanks