Created
February 9, 2016 14:37
-
-
Save codeaholicguy/8288c8291bff40d9ce8e 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
@Service | |
public class ProductService { | |
@Autowired | |
private ProductRepository repository; | |
public List getProducts() { | |
return repository.findAll(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment