diff --git a/README.md b/README.md index 7008b71..c5f2c05 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,6 @@ dotnet add package AutoQuery.AspNetCore 4. Example Output: ```plaintext Filtered Users: - 4: Bob Brown 3: Alice Johnson ``` @@ -165,7 +164,7 @@ dotnet add package AutoQuery.AspNetCore public IActionResult Get(UserQueryOptions queryOptions) { var result = users.AsQueryable() - .ApplyQueryPaged(_queryProcessor, queryOptions); + .ApplyQueryPagedResult(_queryProcessor, queryOptions); return Ok(result); } } diff --git a/sample/AutoQueryApiDemo/Controllers/UsersController.cs b/sample/AutoQueryApiDemo/Controllers/UsersController.cs index 4ec2866..755cf56 100644 --- a/sample/AutoQueryApiDemo/Controllers/UsersController.cs +++ b/sample/AutoQueryApiDemo/Controllers/UsersController.cs @@ -31,7 +31,7 @@ public UsersController(IQueryProcessor queryProcessor) public IActionResult Get(UserQueryOptions queryOptions) { var result = users.AsQueryable() - .ApplyQueryPaged(_queryProcessor, queryOptions); + .ApplyQueryPagedResult(_queryProcessor, queryOptions); return Ok(result); } }