source:
src/main/java/com/example/moviezone/service/CustomerService.java
Last change on this file was 1e7126f, checked in by , 15 months ago | |
---|---|
|
|
File size: 357 bytes |
Rev | Line | |
---|---|---|
[f17f34f] | 1 | package com.example.moviezone.service; |
2 | ||
3 | import com.example.moviezone.model.Customer; | |
[eb226b2] | 4 | import org.springframework.stereotype.Repository; |
[f17f34f] | 5 | |
6 | import java.util.List; | |
[00fa72f] | 7 | import java.util.Optional; |
8 | ||
[f17f34f] | 9 | public interface CustomerService { |
10 | List<Customer> findAllCustomers(); | |
[00fa72f] | 11 | Optional<Customer> getCustomerById(int id); |
[01a1ca6] | 12 | Customer findByUsername(String username); |
[f17f34f] | 13 | } |
Note:
See TracBrowser
for help on using the repository browser.