From ad673842b1e304cd127b0cdf218b7979a1008b14 Mon Sep 17 00:00:00 2001 From: Biarity Date: Sat, 10 Feb 2018 16:10:03 +1000 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e1ed4b9..7023286 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ public DateTimeOffset DateCreated { get; set; } = DateTimeOffset.UtcNow; ``` There is also the `Name` parameter that you can use to have a different name for use by clients. +Alternatively, you can use Fluent API to do the same. This is especially useful if you don't want to use attributes or have multiple APIs. [More on Sieve's Fluent API here](https://github.com/Biarity/Sieve/issues/4#issuecomment-364629048). + ### 3. Get sort/filter/page queries by using the Sieve model in your controllers In the action that handles returning Posts, use `SieveModel` to get the sort/filter/page query.