namespace MicCheck.Api.Webhooks; public static class DependencyRegistration { public static IServiceCollection AddWebhooksServices(this IServiceCollection services) { services.AddScoped(); services.AddScoped(); services.AddSingleton(); services.AddHostedService(); services.AddHostedService(); services.AddHttpClient("Webhooks", client => client.DefaultRequestHeaders.Add("User-Agent", "MicCheck-Webhook/1.0")); return services; } }