Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanmeissner authored Jun 26, 2020
1 parent 532685d commit 7e6cdb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ The resulting JSON looks like this:
}
```

You can skip sorting and paging if necessary:
```csharp
return new Result<T>(ps, data, sort: false, page: false);
```

If you need to transform (`Select`) the sorted and paged data, you can use the `Result<T>.Select` method. Like this:

```csharp
Expand Down

0 comments on commit 7e6cdb0

Please sign in to comment.