source:
src/main/java/com/example/service/UserService.java@
a51a591
Last change on this file since a51a591 was a51a591, checked in by , 14 months ago | |
---|---|
|
|
File size: 261 bytes |
Line | |
---|---|
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.