diff --git a/src/MediatR.CommandQuery.Endpoints/EntityQueryEndpointBase.cs b/src/MediatR.CommandQuery.Endpoints/EntityQueryEndpointBase.cs index bfb40e86..ad8185ed 100644 --- a/src/MediatR.CommandQuery.Endpoints/EntityQueryEndpointBase.cs +++ b/src/MediatR.CommandQuery.Endpoints/EntityQueryEndpointBase.cs @@ -72,6 +72,7 @@ protected virtual void MapGroup(RouteGroupBuilder group) .WithName($"Get{EntityName}List") .WithSummary("Get entities by query") .WithDescription("Get entities by query"); + group .MapPost("query", PostSelectQuery) .Produces>()