public ActionResult Logout() { //_SecurityAdapter.Initialize(); //WebSecurity.Logout(); _SecurityAdapter.LogOut(); //return RedirectToAction("Index", "Home"); return(RedirectToAction("login", "account")); }
public ActionResult Logout() { //_SecurityAdapter.Initialize(); //WebSecurity.Logout(); _SecurityAdapter.LogOut(); //return RedirectToAction("Index", "Home"); return(RedirectToAction("login", "account")); }