using Microsoft.Extensions.DependencyInjection; using WorkFlow.Infrastructure.Contracts; using WorkFlow.Infrastructure.Repositories; namespace WorkFlow.Infrastructure { public static class DIExtensions { public static IServiceCollection AddWorkFlowRepositories(this IServiceCollection services) => services .AddScoped() .AddScoped() .AddScoped() .AddScoped() .AddScoped(); } }