Today I add to code other index (collection). I didn`t use easy lib. I use classic search ( with add).
I made similar endpoit -> get all && add. There is base for filter data search.
Intresting thing: Before add element, you can`t get data, beacuse you get exception.
I add mapper too. Golden rule, always get dto, never entity
Commit:
https://github.com/mikoxp/ProgramingRecipes/commit/b5785734a278aab035ed6549e584a74f14ba7cc2