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