23 lines
685 B
C#
23 lines
685 B
C#
// using Demo.Data.Repository;
|
|
// using Demo.Domain.UseCase;
|
|
|
|
// public static class ServiceExtencions{
|
|
// public static void ConfigurateGroup(this IServiceCollection services)
|
|
// {
|
|
// services.AddScoped<IGroupRepository, SQLGroupRepositoryImpl>()
|
|
// .AddScoped<GroupUseCase>();
|
|
// }
|
|
// }
|
|
|
|
using Demo.Data.Repository;
|
|
using Demo.Domain.UseCase;
|
|
|
|
public static class ServiceExtencions
|
|
{
|
|
public static void ConfigurateGroup(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<IGroupRepository, SQLGroupRepositoryImpl>()
|
|
.AddScoped<IUserRepository, SQLUserRepositoryImpl>()
|
|
.AddScoped<GroupUseCase>();
|
|
}
|
|
} |