Created
February 9, 2016 14:39
-
-
Save codeaholicguy/00fea48aaf95e13dca1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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