public static void Logout() { var id = HttpContext.Current.User.Identity.Name.ToGuid(); CacheExtensions.ClearCache(LoginCacheName + id); Unity.Get <IMenuService>().ClearCache(); FormsAuthentication.SignOut(); }
public static void Logout() { var id = HttpContext.Current.User.Identity.Name.ToGuid(); CacheExtensions.ClearCache(LoginCacheName + id); Unity.Get <IMenuService>().ClearCache(); FormsAuthentication.SignOut(); }