I would like to pass a value to my controller action from Html.ActionLink.
<%= Html.ActionLink("Click to open/download", "DownloadResource", "Admin", new { URL = <%= Model.TargetResource %> }, null)%>
But if I use <%= Model.TargetResource %>, I get a syntax error.
What should be the right way of doing this?
Just use: