when I call a different controller from an area, it does not remove the area name from the url.
ex -
http://localhost:1395/Syndicate/Home
here "syndicate" is my area. when I call another action from main project (outside the area) through <a href="/Login/Logout">
it still remains "syndicate" in the url.
ex -
http://localhost:1395/Syndicate/Login/Logout
how can I avoid this problem ?
I tried @Html.ActionLink("Log out", "LogOut", "Login", new { area = "" }, null)
this but didn't work