using data.Repository; using domain.UseCase; public static class ServiceExtensions { public static void ConfigurateGroup(this IServiceCollection services) { services .AddScoped() .AddScoped(); } public static void ConfigurateUser(this IServiceCollection services) { services .AddScoped() .AddScoped(); } public static void ConfiguratePresence(this IServiceCollection services) { services .AddScoped() .AddScoped(); } public static void ConfigurateAdminPanel(this IServiceCollection services) { services .AddScoped() .AddScoped() .AddScoped() .AddScoped() .AddScoped() .AddScoped(); } public static void ConfigurateRepositories(this IServiceCollection services) { services.AddScoped(); services.AddScoped(); services.AddScoped(); } }