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