Created
May 16, 2019 01:03
-
-
Save sohangp/c1c96aedc8fe7a7b536fa2e0d78f3979 to your computer and use it in GitHub Desktop.
Service Layer
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 CustomerServiceImpl implements CustomerService { | |
@Autowired | |
private CustomerRepository customerRepository; | |
public List<CustomerDetailsDTO> getCustomersAndOrderData() throws Exception { | |
return customerRepository.getCustomerDetails(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment