public static FomMonitoringCore.SqlServer.Users GetLoggedUser() { return(UseCacheInsteadOfSession() ? CacheService.GetValue <FomMonitoringCore.SqlServer.Users>("LoggedUser") : SessionServices.GetValue <FomMonitoringCore.SqlServer.Users>("LoggedUser")); }