Skip to content

Commit

Permalink
empty commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsumon85 committed Apr 28, 2024
1 parent 9ea4815 commit 4205710
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ResponseEntity<List<EmployeeDTO>> getAllEmployees() {
@GetMapping(value = "/find/by-id")
public ResponseEntity<EmployeeDTO> getEmployeeById(@RequestParam Long id) {
EmployeeDTO list = employeeService.findByEmployeeId(id);
return new ResponseEntity<EmployeeDTO>(list, HttpStatus.OK);
return new ResponseEntity<>(list, HttpStatus.OK);
}

@PostMapping(value = { "/add", "/update" })
Expand Down

0 comments on commit 4205710

Please sign in to comment.