Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Autowired
private ProductService productService;
@RequestMapping(value = "/all", method = RequestMethod.GET)
public List getProducts() {
return productService.getProducts();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment