diff --git a/SurveyLib.Infrastructure.EFCore/DependencyInjection.cs b/SurveyLib.Infrastructure.EFCore/DependencyInjection.cs new file mode 100644 index 0000000..5b776b0 --- /dev/null +++ b/SurveyLib.Infrastructure.EFCore/DependencyInjection.cs @@ -0,0 +1,19 @@ +using Microsoft.Extensions.DependencyInjection; +using SurveyLib.Core.Repositories; +using SurveyLib.Infrastructure.EFCore.Repositories; + +namespace SurveyLib.Infrastructure.EFCore; + +public static class DependencyInjection +{ + public static IServiceCollection AddSurveyLibInfrastructure(this IServiceCollection services) + { + services.AddScoped(); + services.AddScoped(); + services.AddScoped(); + services.AddScoped(); + services.AddScoped(); + + return services; + } +} \ No newline at end of file