public static DIHelper AddGlobalNotifyService(this DIHelper services) { services.TryAddSingleton <GlobalNotify>(); return(services .AddKafkaService() .AddCoreBaseSettingsService()); }