main
Last change
on this file was 8ca35dc, checked in by Aleksandar Panovski <apano77@…>, 4 months ago |
Done with stupid timeslots
|
-
Property mode
set to
100644
|
File size:
571 bytes
|
Line | |
---|
1 | package com.example.rezevirajmasa.demo.service;
|
---|
2 |
|
---|
3 | import com.example.rezevirajmasa.demo.dto.CredentialsDto;
|
---|
4 | import com.example.rezevirajmasa.demo.dto.SignUpDto;
|
---|
5 | import com.example.rezevirajmasa.demo.dto.UserDto;
|
---|
6 | import com.example.rezevirajmasa.demo.model.User;
|
---|
7 | import lombok.RequiredArgsConstructor;
|
---|
8 |
|
---|
9 |
|
---|
10 | public interface UserService {
|
---|
11 | public UserDto findByEmail(String email);
|
---|
12 | public User findByMail(String email);
|
---|
13 | public UserDto login(CredentialsDto credentialsDto);
|
---|
14 | public UserDto register(SignUpDto userDto);
|
---|
15 | public User findUserById(Long userId);
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.