Skip to content

Commit

Permalink
Small documentation correction
Browse files Browse the repository at this point in the history
  • Loading branch information
vip32 committed Oct 23, 2024
1 parent cc1d855 commit cf26f21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/features-filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ public class UsersController : ControllerBase
### ASP.NET Minimal API Example

```csharp
app.MapGet("/api/users/search", async Task<Results<Ok<PagedResult<User>>, NotFound>> (HttpContext context, IMediator mediator, CancellationToken cancellationToken) =>
app.MapGet("/api/users/search", async Task<Results<Ok<PagedResult<User>>, NotFound>>
(HttpContext context, IMediator mediator, CancellationToken cancellationToken) =>
{
var filter = await context.FromQueryFilterAsync();
var response = await mediator.Send(
Expand Down

0 comments on commit cf26f21

Please sign in to comment.