Action link in my nav menu
<li>@Html.ActionLink("Log Off", "Logout", "Account")</li>
My Logout.cshtml codes.
@{
ViewBag.Title = "Log Out";
Session.Clear();
FormsAuthentication.SignOut();
Response.Redirect("~/../Home/Index.cshtml");
}
Why I can't access my logout form?