Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ public Iterable<Employee> getEmployees() {
/**
* Update - Update an existing employee
* @param id - The id of the employee to update
* @param employee - The employee object updated
* @return
* @return employee - The employee object updated
*/
@PutMapping("/employee/{id}")
public Employee updateEmployee(@PathVariable("id") final Long id, @RequestBody Employee employee) {
Expand Down Expand Up @@ -101,4 +100,4 @@ public void deleteEmployee(@PathVariable("id") final Long id) {
}


}
}