Changeset 01a1ca6 for src/main/java/com/example/moviezone/service
- Timestamp:
- 02/10/23 00:10:41 (21 months ago)
- Branches:
- master
- Children:
- 73f0dbc
- Parents:
- 5444409
- Location:
- src/main/java/com/example/moviezone/service
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/CustomerService.java
r5444409 r01a1ca6 11 11 List<Customer> findAllCustomers(); 12 12 Optional<Customer> getCustomerById(int id); 13 Customer findByUsername(String username); 13 14 } -
src/main/java/com/example/moviezone/service/Impl/CustomerServiceImpl.java
r5444409 r01a1ca6 26 26 return customerRepository.findById(id); 27 27 } 28 29 @Override 30 public Customer findByUsername(String username) { 31 return customerRepository.getByUsername(username); 32 } 28 33 }
Note:
See TracChangeset
for help on using the changeset viewer.