I\'m just wrapping up a college project, I\'m not sure if I\'ve been staring at my computer for too long and am missing something obvious, but when I try to log a user out, I\'m
Since logout modifies server state, I wouldnt remove [HttpPost] and [ValidateAntiForgeryToken] Instead I will replace the link (anchor tag) with the following
@using (Html.BeginForm("Log Out", "Account", FormMethod.Post,
new { id = "logoutForm" }))
{
@Html.AntiForgeryToken()
Log Out
}