class AlertServiceImpl extends RootTransactionalService implements AlertService {

    @Override
    @Transactional
    public ServiceResult<Void> deleteAllByType(AlertType type) {
        alertRepository.deleteByType(type);
        return serviceSuccess();
    }

}