demp_with_asp/presence_api/ServiceExtensions/ServiceExtensions.cs

11 lines
277 B
C#
Raw Normal View History

2024-11-07 10:35:45 +00:00
using Data.Repository;
using domain;
public static class ServiceExtensions {
public static void ConfigurateGroup(this IServiceCollection services){
services
.AddScoped<IGroupRepository, SQLGroupRepositoryImpl>()
.AddScoped<GroupUseCase>();
}
}