16 lines
490 B
C#
16 lines
490 B
C#
|
using CH.Dal;
|
||
|
using Microsoft.Extensions.DependencyInjection;
|
||
|
using OpenHarbor.CQRS.DynamicQuery;
|
||
|
using PoweredSoft.Module.Abstractions;
|
||
|
|
||
|
namespace CH.CQRS.Query.EnergyProvider;
|
||
|
|
||
|
public class EnergyProviderQueriesModule : IModule
|
||
|
{
|
||
|
public IServiceCollection ConfigureServices(IServiceCollection services)
|
||
|
{
|
||
|
services.AddDynamicQuery<EnergyProviderQueryItem>()
|
||
|
.AddQueryableProviderOverride<EnergyProviderQueryItem, EnergyProviderQueryableProvider>();
|
||
|
return services;
|
||
|
}
|
||
|
}
|