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
|
Rev | Line | |
---|
[5a9c93b] | 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;
|
---|
[8ca35dc] | 6 | import com.example.rezevirajmasa.demo.model.User;
|
---|
[5a9c93b] | 7 | import lombok.RequiredArgsConstructor;
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | public interface UserService {
|
---|
| 11 | public UserDto findByEmail(String email);
|
---|
[8ca35dc] | 12 | public User findByMail(String email);
|
---|
[5a9c93b] | 13 | public UserDto login(CredentialsDto credentialsDto);
|
---|
| 14 | public UserDto register(SignUpDto userDto);
|
---|
[8ca35dc] | 15 | public User findUserById(Long userId);
|
---|
[5a9c93b] | 16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.