@RequestMapping(method = RequestMethod.GET) public List<Category> getAll() { return categoryService.findAll(); }