using Application.Interfaces; using Application.Services; using FluentValidation; using Microsoft.Extensions.DependencyInjection; namespace Application.Extensions; public static class ServiceCollectionExtensions { public static IServiceCollection AddApplication(this IServiceCollection services) { services.AddValidatorsFromAssembly(typeof(ServiceCollectionExtensions).Assembly); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); return services; } }