How do I create a link that goes to Controller/Action/Id/Application?
I have tried with
@Html.ActionLink("link", "action", "controller", new { Id = @Model.Id }, new { application = @application.Name})
How do I create a link that goes to Controller/Action/Id/Application?
I have tried with
@Html.ActionLink("link", "action", "controller", new { Id = @Model.Id }, new { application = @application.Name})
First, you'll need to have a custom route defined in
App_Start/RouteConfig.cs
Something like:
Then, to generate URLs: