Ejemplo n.º 1
0
        public ActionResult LogOff()
        {
            var sessionInfo = _authSavingService.GetSessionInfo();

            if (!sessionInfo.IsEmpty())
            {
                _membershipEngine.Logout(sessionInfo.Email, sessionInfo.SessionGuid, Request.GetClientIP());
            }
            _authSavingService.SignOut();

            return(RedirectToHome());
        }