class AspspEventServiceImpl implements AspspEventService {

    @Override
    public List<AspspEvent> getEventsForPeriod(@NotNull OffsetDateTime start, @NotNull OffsetDateTime end, @Nullable String instanceId) {
        List<ReportEvent> events = eventReportRepository.getEventsForPeriod(start, end, instanceId);
        return eventBOMapper.toAspspEventList(events);
    }

}