- Timestamp:
- 02/09/23 14:06:45 (21 months ago)
- Branches:
- master
- Children:
- 6a9006d, a9ffccd
- Parents:
- 0ba5d1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/Impl/CustomerServiceImpl.java
r0ba5d1a r00fa72f 7 7 8 8 import java.util.List; 9 import java.util.Optional; 9 10 10 11 @Service … … 20 21 return customerRepository.findAll(); 21 22 } 23 24 @Override 25 public Optional<Customer> getCustomerById(int id) { 26 return customerRepository.findById(id); 27 } 22 28 }
Note:
See TracChangeset
for help on using the changeset viewer.