private CategoryService categoryService;
private UserService userService;
@Override
public Response getCategories() {
CategoryList categoryList = new CategoryList();
for (org.apache.rave.model.Category category : categoryService.getAll()) {
categoryList.getCategories().add(new Category((category)));
}
return Response.ok(categoryList).build();
}