Last change
on this file since a69d48c was f9cc555, checked in by milamihajlovska <mila.mihajlovska01@…>, 22 months ago |
changes to register
|
-
Property mode
set to
100644
|
File size:
490 bytes
|
Line | |
---|
1 | package com.example.moviezone.service;
|
---|
2 |
|
---|
3 | import com.example.moviezone.model.Role;
|
---|
4 | import com.example.moviezone.model.User;
|
---|
5 |
|
---|
6 | import java.util.List;
|
---|
7 |
|
---|
8 | public interface UserService {
|
---|
9 | List<User> findAllUsers();
|
---|
10 | User findById(Integer user_id);
|
---|
11 | User findByUsername(String username);
|
---|
12 |
|
---|
13 | User register(String first_name, String last_name,String username, String email, String number, String password,String repeatedPassword, Role role);
|
---|
14 | User login(String username,String password);
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.