/** * Thêm thuộc tính mới. * * @param categoryProperty * @return */ @ResponseBody @RequestMapping(value = "/addproperty", method = RequestMethod.POST) public Response addProperty(@RequestBody CategoryProperty categoryProperty) { try { return categoryService.addProperty(categoryProperty); } catch (Exception e) { return new Response(false, e.getMessage()); } }