0
ddilika
This code creates a mapping for the POST /search-reporting HTTP request which will call the abstract service searchReporting. This service will take in the search wrapper and Pageable objects and return a ResponseEntity which will be an ok object.
0 Comments
@PostMapping("search-reporting") public ResponseEntity<Page<Employee>> searchReporting(@RequestBody EmployeeReportingSearchWrapper searchWrapper, Pageable pageable) { return ok(this.abstractService.searchReporting(searchWrapper, pageable)); }