Could you please help me figure out what is wrong with below razor syntax. I am trying to output an anchor tag with a link to MVC action.
Razor Syntax:
@Html.ActionLink("Back to Reports List", "Index", "Reports")
Output in the browser:
<a href="/">Back to Reports List</a>
and not:
<a href="/Reports/Index">Back to Reports List</a>
Any idea?