public void SubscribeToAllAvailableNotifications(UserIdentifier user) { var notificationDefinitions = (_notificationDefinitionManager .GetAllAvailable(user)) .Where(nd => nd.EntityType == null) .ToList(); foreach (var notificationDefinition in notificationDefinitions) { Subscribe(user, notificationDefinition.Name); } }