Last change
on this file since 632e3d8 was d7f5da9, checked in by milamihajlovska <mila.mihajlovska01@…>, 22 months ago |
changes for login (not working)
|
-
Property mode
set to
100644
|
File size:
468 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 | void register(String first_name, String last_name,String username, String email, String number, String password, Role role);
|
---|
14 | User login(String username,String password);
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.