Last change
on this file since 4173acf was 1e7126f, checked in by DenicaKj <dkorvezir@…>, 15 months ago |
fix
|
-
Property mode
set to
100644
|
File size:
357 bytes
|
Line | |
---|
1 | package com.example.moviezone.service;
|
---|
2 |
|
---|
3 | import com.example.moviezone.model.Customer;
|
---|
4 | import org.springframework.stereotype.Repository;
|
---|
5 |
|
---|
6 | import java.util.List;
|
---|
7 | import java.util.Optional;
|
---|
8 |
|
---|
9 | public interface CustomerService {
|
---|
10 | List<Customer> findAllCustomers();
|
---|
11 | Optional<Customer> getCustomerById(int id);
|
---|
12 | Customer findByUsername(String username);
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.