Open DanielStott opened 2 years ago
We need an endpoint that will return a UserViewModel to the front end.
The route for this endpoint should be a GET on /Users/{userid:guid} e.g. https://localhost:5001/Users/98a67b19-66a5-4b7b-b2d5-9034b7906804
/Users/{userid:guid}
https://localhost:5001/Users/98a67b19-66a5-4b7b-b2d5-9034b7906804
Things you'll need to create:
GetUser
UsersController
GetUserHandler
We need an endpoint that will return a UserViewModel to the front end.
The route for this endpoint should be a GET on
/Users/{userid:guid}
e.g.https://localhost:5001/Users/98a67b19-66a5-4b7b-b2d5-9034b7906804
Things you'll need to create:
GetUser
endpoint in theUsersController
GetUserHandler
in the Domain