16 lines
No EOL
474 B
C#
16 lines
No EOL
474 B
C#
using Microsoft.Extensions.Configuration;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using SurveyBackend.Core.Repositories;
|
|
using SurveyBackend.Infrastructure.Repositories;
|
|
|
|
namespace SurveyBackend.Infrastructure;
|
|
|
|
public static class DependencyInjection
|
|
{
|
|
public static IServiceCollection AddSurveyBackendInfrastructure(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<IUserRepository, UserRepository>();
|
|
|
|
return services;
|
|
}
|
|
} |