constellation-api/CH.CQRS/QueryModule.cs

20 lines
510 B
C#
Raw Normal View History

using CH.CQRS.Query.Health;
using Microsoft.Extensions.DependencyInjection;
using OpenHarbor.CQRS.Abstractions;
2025-01-02 17:53:38 -05:00
using PoweredSoft.Module.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CH.CQRS;
public class QueryModule : IModule
{
public IServiceCollection ConfigureServices(IServiceCollection services)
{
services.AddQuery<HealthQuery, HealthQueryResult, HealthQueryHandler>();
2025-01-02 17:53:38 -05:00
return services;
}
}