new_presence/presence_api/ServiceExtensions/ServiceExtensions.cs

10 lines
284 B
C#
Raw Normal View History

2024-11-16 08:29:24 +00:00
using data.Repository;
using domain.UseCase;
public static class ServiceExtensions {
public static void ConfigurateGroup(this IServiceCollection services){
services
.AddScoped<IGroupRepository, SQLGroupRepositoryImpl>()
.AddScoped<GroupUseCase>();
}
}