move DbTriggerParams to Infrastructure layer.

- createConfig for flexable configuration
This commit is contained in:
2025-10-01 12:59:55 +02:00
parent ca24afe3c6
commit 53a656f6ee
8 changed files with 84 additions and 22 deletions

View File

@@ -46,7 +46,6 @@ public static class DependencyInjection
services.Configure<MailParams>(config.GetSection(nameof(MailParams)));
services.Configure<AuthenticatorParams>(config.GetSection(nameof(AuthenticatorParams)));
services.Configure<TotpSmsParams>(config.GetSection(nameof(TotpSmsParams)));
services.Configure<DbTriggerParams>(config.GetSection(nameof(DbTriggerParams)));
services.AddHttpClientService<GtxMessagingParams>(config.GetSection(nameof(GtxMessagingParams)));
services.TryAddSingleton<ISmsSender, GTXSmsSender>();