/** * service Sửa thuộc tính * * @param id * @return */ @ResponseBody @RequestMapping(value = "/editproperty", method = RequestMethod.POST) public Response editproperty(@RequestBody CategoryProperty categoryProperty) { try { categoryService.editProperty(categoryProperty); } catch (Exception e) { return new Response(false, e.getMessage()); } return new Response(true, "Sửa thành công"); }