This project is my first development of REST API. Below is my controller:

and below is my repository

When I run the API, I get all the rows in my table. The parameter does not work.
I hope someone can help me with this.
Thank you


Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh KumarRank #91 · 22.9K reputationPosted Jun 1, 2021, 11:53 PM EDT
Jes SieRank #1,285 · 1.3K reputationPosted Jun 2, 2021, 12:13 AM EDT