Instrument Read / Get
Opened this issue · 0 comments
colinlwhite commented
User Story
- As a developer I need an API endpoint that will retrieve all of the user's instruments from the
DB
Tech Notes
- Create
InstrumentsController.cs
within theControllers
folder - Create
GetInstrumentsByUserId
GET Request withinInstrumentsController.cs
- Create
instrumentsRepository.cs
withinData
folder - Create
Instrument.cs
within theModel
folder - Create the correct SQL query within
InstrumentRepository
to retrieve the data from the DB
Acceptance Criteria
When I send a GET request to the https://localhost:44387/api/Instruments/1
endpoint
Then I should get a 200 Response code
And a list of the specified user's instruments