mirror of
https://github.com/Biarity/Sieve.git
synced 2025-07-27 04:33:23 +02:00
Update README.md
This commit is contained in:
@@ -65,8 +65,8 @@ If you want to add custom sort/filter methods, inject `ISieveCustomSortMethods`
|
|||||||
|
|
||||||
For instance:
|
For instance:
|
||||||
```
|
```
|
||||||
services.AddScoped<SieveCustomSortMethods>();
|
services.AddScoped<ISieveCustomSortMethods, SieveCustomSortMethods>();
|
||||||
services.AddScoped<SieveCustomFilterMethods>();
|
services.AddScoped<ISieveCustomFilterMethods, SieveCustomFilterMethods>();
|
||||||
```
|
```
|
||||||
Where `SieveCustomSortMethodsOfPosts` for example is:
|
Where `SieveCustomSortMethodsOfPosts` for example is:
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user