Jerkinator / secondRoll

0 stars 0 forks source link

95 create method for searchfilter gameads by price #100

Closed OGester closed 5 months ago

OGester commented 5 months ago

Created methods to get available game ads sorted either by price or created at both in ascending and descending order.

test in postman with endpoints: price ascending = ...gameAds/sortbyprice/asc

price descending = ...gameAds/sortbyprice/desc

created date ascending = ...gameAds/sortbydate/asc

created date descending = ...gameAds/sortbydate/desc

Looks like the conveter method that is commented out in gameAdsService on main branch is grumpy if it is not in use it should get fixed by just choosing to not keep that before merging.

God speed! :)