get / audits / : id : get an auditevent by id . concode_field_sep AuditEventService auditEventService concode_field_sep ResponseEntity<List<AuditEvent>> getAll concode_elem_sep ResponseEntity<List<AuditEvent>> getByDates
ResponseEntity < AuditEvent > function ( @ PathVariable Long arg0 ) { return auditEventService . find ( arg0 ) . map ( ( entity ) -> new ResponseEntity < > ( entity , HttpStatus . OK ) ) . orElse ( new ResponseEntity < > ( HttpStatus . NOT_FOUND ) ) ; }