Are you just wanting to get the single one with a filter if a specific id is given, and if not then get all?
That logic will have to be done by the UI and sent as two different queries.
Are you just wanting to get the single one with a filter if a specific id is given, and if not then get all?
That logic will have to be done by the UI and sent as two different queries.