@RequestMapping(
     value = "/audits/all",
     method = RequestMethod.GET,
     produces = MediaType.APPLICATION_JSON_VALUE)
 @RolesAllowed(AuthoritiesConstants.ADMIN)
 public List<AuditEvent> findAll() {
   return auditEventService.findAll();
 }
 @RequestMapping(
     value = "/audits/byDates",
     method = RequestMethod.GET,
     produces = MediaType.APPLICATION_JSON_VALUE)
 @RolesAllowed(AuthoritiesConstants.ADMIN)
 public List<AuditEvent> findByDates(
     @RequestParam(value = "fromDate") LocalDateTime fromDate,
     @RequestParam(value = "toDate") LocalDateTime toDate) {
   return auditEventService.findByDates(fromDate, toDate);
 }