class AlertServiceImpl extends RootTransactionalService implements AlertService {

    @Override
    public ServiceResult<List<AlertResource>> findAllVisible() {
        return serviceSuccess(simpleMap(alertRepository.findAllVisible(now()), alertMapper::mapToResource));
    }

}