Last change
on this file since a51a591 was a51a591, checked in by colovik <j.colovik@…>, 14 months ago |
final
|
-
Property mode
set to
100644
|
File size:
261 bytes
|
Rev | Line | |
---|
[a51a591] | 1 | package com.example.service;
|
---|
| 2 |
|
---|
| 3 | import com.example.model.User;
|
---|
| 4 |
|
---|
| 5 | import java.util.List;
|
---|
| 6 | import java.util.Optional;
|
---|
| 7 |
|
---|
| 8 | public interface UserService {
|
---|
| 9 |
|
---|
| 10 | List<User> findAllUsers();
|
---|
| 11 | Optional<User> findByUsername(String username);
|
---|
| 12 | User findById(Integer id);
|
---|
| 13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.