Raspisanie/Zurnal/presence_api/ServiceExtensions/ServiceExtensions.cs

10 lines
307 B
C#
Raw Permalink Normal View History

2024-11-11 11:41:23 +00:00
using Zurnal.Date.Repository.SQLRepos;
using Zurnal.Domain.UseCase;
2024-11-11 08:31:26 +00:00
public static class ServiceExtensions {
public static void ConfigurateGroup(this IServiceCollection services){
services
.AddScoped<IGroupRepository, SQLGroupRepositoryImpl>()
.AddScoped<GroupUseCase>();
}
}