using CH.Dal; using Microsoft.Extensions.DependencyInjection; using OpenHarbor.CQRS.DynamicQuery; using PoweredSoft.Module.Abstractions; namespace CH.CQRS.Query.EnergyRate; public class EnergyRateQueriesModule : IModule { public IServiceCollection ConfigureServices(IServiceCollection services) { services.AddDynamicQueryWithParams() .AddQueryableProviderOverride(); services.AddDynamicQuery() .AddQueryableProviderOverride(); return services; } }