1
Hello, I have a link in a View
and I need to direct this link to a ActionResult
that is in another Area
of my project.
Is a link from Sair
to call on the a ActionResult Logoff
.
1
Hello, I have a link in a View
and I need to direct this link to a ActionResult
that is in another Area
of my project.
Is a link from Sair
to call on the a ActionResult Logoff
.
2
Use:
@Html.ActionLink("Texto do Link", "Acao", new { area = "Tal", controller = "ControllerDaAreaTal" } )
Browser other questions tagged c# html asp.net-mvc
You are not signed in. Login or sign up in order to post.
Perfect. It worked right away.
– Luiz Negrini