source: src/main/java/com/example/service/UserService.java

Last change on this file was a51a591, checked in by colovik <j.colovik@…>, 14 months ago

final

  • Property mode set to 100644
File size: 261 bytes
RevLine 
[a51a591]1package com.example.service;
2
3import com.example.model.User;
4
5import java.util.List;
6import java.util.Optional;
7
8public 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.