// GET: /Account/LogOff public ActionResult LogOff(IUser user) { if (user == null) throw new ArgumentNullException("user"); _authenticationServices.RemoveAuthenticationCookie(); _sessionStore.ClearUser(user.Name); user.SignOut(); return RedirectToAction("LogOn", "Account"); }