Пример #1
0
        public static void Logout()
        {
            var id = HttpContext.Current.User.Identity.Name.ToGuid();

            CacheExtensions.ClearCache(LoginCacheName + id);
            Unity.Get <IMenuService>().ClearCache();
            FormsAuthentication.SignOut();
        }