16 lines
379 B
C#
16 lines
379 B
C#
using DigitalOps.Authority.Attributes;
|
|
using OpenHarbor.CQRS.Abstractions;
|
|
|
|
namespace DigitalOps.CQRS.Queries.Health;
|
|
|
|
[AllowGuest]
|
|
public class HealthQuery
|
|
{
|
|
|
|
}
|
|
|
|
public class HealthQueryHandler : IQueryHandler<HealthQuery, bool>
|
|
{
|
|
public Task<bool> HandleAsync(HealthQuery query, CancellationToken cancellationToken = new CancellationToken())
|
|
=> Task.FromResult(true);
|
|
} |