- Timestamp:
- 02/02/23 22:46:30 (22 months ago)
- Branches:
- master
- Children:
- ac25203
- Parents:
- f60cb20
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/Impl/CustomerServiceImpl.java
rf60cb20 r1b248e4 2 2 3 3 import com.example.moviezone.model.Customer; 4 import com.example.moviezone.repository.CustomerRepository; 4 5 import com.example.moviezone.service.CustomerService; 5 6 import org.springframework.stereotype.Service; … … 9 10 @Service 10 11 public class CustomerServiceImpl implements CustomerService { 12 private final CustomerRepository customerRepository; 13 14 public CustomerServiceImpl(CustomerRepository customerRepository) { 15 this.customerRepository = customerRepository; 16 } 17 11 18 @Override 12 19 public List<Customer> findAllCustomers() { 13 return null;20 return customerRepository.findAll(); 14 21 } 15 22 }
Note:
See TracChangeset
for help on using the changeset viewer.