How to call ActionResult from another area with an html link?

1

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 .

    
asked by anonymous 12.02.2014 / 18:42

1 answer

2

Use:

@Html.ActionLink("Texto do Link", "Acao", new { area = "Tal", controller = "ControllerDaAreaTal" } )
    
12.02.2014 / 19:15