Hello, I have a link in a View
and I need to direct this link to a ActionResult
that stays in another Area
of my project.
It is a link of Sair
to call the ActionResult Logoff
.
Hello, I have a link in a View
and I need to direct this link to a ActionResult
that stays in another Area
of my project.
It is a link of Sair
to call the ActionResult Logoff
.
Use:
@Html.ActionLink("Texto do Link", "Acao", new { area = "Tal", controller = "ControllerDaAreaTal" } )