InventoryService seems to have a lot of code smells please look at it and improve the code quality.
On top of removing code smells for the InventoryService, we need to find a way to implement different types of filtering:
Text
Numbers
Dates (in ranges)
We can create different types of filters and use the Strategy pattern to select the query algorithm at runtime.
The input received from the views can act as the context
InventoryService seems to have a lot of code smells please look at it and improve the code quality.
On top of removing code smells for the InventoryService, we need to find a way to implement different types of filtering:
We can create different types of filters and use the Strategy pattern to select the query algorithm at runtime. The input received from the views can act as the context