From ec36b956ad7d16ef1d3c5798961d240916769db5 Mon Sep 17 00:00:00 2001 From: Biarity Date: Sat, 10 Feb 2018 11:29:56 +1000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0266150..e1ed4b9 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,11 @@ public int LikeCount { get; set; } [Sieve(CanFilter = true, CanSort = true)] public int CommentCount { get; set; } -[Sieve(CanFilter = true, CanSort = true, name = "created")] +[Sieve(CanFilter = true, CanSort = true, Name = "created")] 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. +There is also the `Name` parameter that you can use to have a different name for use by clients. ### 3. Get sort/filter/page queries by using the Sieve model in your controllers