16 lines
557 B
C#
16 lines
557 B
C#
using CH.Dal;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using OpenHarbor.CQRS.DynamicQuery;
|
|
using PoweredSoft.Module.Abstractions;
|
|
|
|
namespace CH.CQRS.Query.EnergyRateException;
|
|
|
|
public class EnergyRateExceptionQueriesModule : IModule
|
|
{
|
|
public IServiceCollection ConfigureServices(IServiceCollection services)
|
|
{
|
|
services.AddDynamicQueryWithParams<EnergyRateExceptionQueryItem, EnergyRateExceptionQueryParams>()
|
|
.AddQueryableProviderOverride<EnergyRateExceptionQueryItem, EnergyRateExceptionQueryableProvider>();
|
|
return services;
|
|
}
|
|
} |