source: trip-planner/src/main/java/finki/diplomska/tripplanner/service/UserService.java

Last change on this file was b738035, checked in by Ema <ema_spirova@…>, 3 years ago

signup/login server errors on front and remove location from planner

  • Property mode set to 100644
File size: 392 bytes
Line 
1package finki.diplomska.tripplanner.service;
2
3import finki.diplomska.tripplanner.models.User;
4import finki.diplomska.tripplanner.models.dto.UserDto;
5
6import java.util.List;
7import java.util.Optional;
8
9
10public interface UserService {
11
12 User saveUser (User user);
13 List<String> getAllUsernames();
14 Optional<String> getPassword(UserDto userDto);
15 Optional<User> findById(Long id);
16}
Note: See TracBrowser for help on using the repository browser.