Last change
on this file since 1b0bd1e was 01a1ca6, checked in by DenicaKj <dkorvezir@…>, 21 months ago |
added authorization
|
-
Property mode
set to
100644
|
File size:
369 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 | @Repository
|
---|
10 | public interface CustomerService {
|
---|
11 | List<Customer> findAllCustomers();
|
---|
12 | Optional<Customer> getCustomerById(int id);
|
---|
13 | Customer findByUsername(String username);
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.