using Microsoft.Extensions.DependencyInjection; namespace AsbCloudInfrastructure.Validators { public static class DependencyInjection { public static IServiceCollection AddValidators(this IServiceCollection services) { // services.AddTransient, AuthDtoValidator>(); // services.AddTransient, ClusterDtoValidator>(); // services.AddTransient, CompanyDtoValidator>(); // services.AddTransient, DepositDtoValidator>(); // services.AddTransient, ProcessMapValidator>(); // services.AddTransient, EventDtoValidator>(); // services.AddTransient, FileInfoDtoValidator>(); // services.AddTransient, FileMarkDtoValidator>(); // services.AddTransient, MeasureDtoValidator>(); // services.AddTransient, MessageDtoValidator>(); // services.AddTransient, PermissionDtoValidator>(); // services.AddTransient, ReportPropertiesDtoValidator>(); // services.AddTransient, UserRegistrationDtoValidator>(); // services.AddTransient, UserRoleDtoValidator>(); // services.AddTransient, WellDtoValidator>(); // services.AddTransient, WellOperationDtoValidator>(); // TimeDtoValidator return services; } } }