using Microsoft.Extensions.DependencyInjection; using Shared.Core.Interfaces.SPI; using Shared.Infrastructure.Services; namespace Shared.Infrastructure { public static class SharedDependencyInjection { public static IServiceCollection AddSharedInfrastructure( this IServiceCollection services) { services.AddScoped( typeof(IRepositoryFactory<>), typeof(RepositoryFactory<>)); return services; } } }