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