part two to this.
Now that there is a RestController with the ability to map to functions, time to create the rest of the CRUD capabilities in the controller and test the resources using Postman.
Start by adding the GetMapping annotation to the Read method set the value endpoint using ‘{id}’. This lets the application know this variable will be provided each request. Define the method with a return type of Athlete, passing the id as a parameter. Use the appropriate service method to findAthlete from…