class DemandResponseEventService {

	public boolean delete(Long id) {
		boolean exists = demandResponseEventDao.existsById(id);
		if (exists) {
			venDemandResponseEventDao.deleteByEventId(id);
			demandResponseEventDao.deleteById(id);
		}
		return exists;
	}

}