using Microsoft.Extensions.DependencyInjection; using OpenHarbor.CQRS.Abstractions; using OpenHarbor.CQRS.FluentValidation; namespace CH.CQRS.Command.Energy; public static class ServiceCollectionExtension { public static IServiceCollection AddEnergyCommand(this IServiceCollection services) { services .AddCommand(); services .AddCommand(); services .AddCommand(); services .AddCommand(); services .AddCommand(); services .AddCommand(); services .AddCommand(); services .AddCommand(); services .AddCommand(); services .AddCommand(); return services; } }