using AsbCloudApp.Data; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using FluentValidation; namespace AsbCloudInfrastructure.Validators { public static class DependencyInjection { public static IServiceCollection AddValidators(this IServiceCollection services, IConfiguration configuration) { services.AddTransient, AuthDtoValidator>(); return services; } } }