@ResponseBody @RequestMapping(value = "/delete/{id}", method = RequestMethod.DELETE) public String delete(@PathVariable("id") Long id) { groupService.deleteGroup(id); return OK; }