class DemandResponseController {

	@RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
	@ResponseBody
	public void delete(@PathVariable(value = "id") Long id, HttpServletResponse response) {
		boolean delete = demandResponseEventService.delete(id);
		if (!delete) {
			response.setStatus(HttpStatus.NOT_FOUND_404);
		}
	}

}