using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Oms.Application.Integrations.Itfx; public static class ItfxServiceExtensions { public static IServiceCollection AddOmsItfxIntegration(this IServiceCollection services, IConfiguration configuration) { services.Configure(configuration.GetSection(ItfxGatewayOptions.SectionName)); services.AddHttpClient(ItfxMetadataClient.HttpClientName); services.AddHttpClient(ItfxForwardClient.HttpClientName); services.AddScoped(); services.AddScoped(); return services; } }