source: src/main/java/com/example/moviezone/service/UserService.java@ f7b0906

Last change on this file since f7b0906 was f9cc555, checked in by milamihajlovska <mila.mihajlovska01@…>, 22 months ago

changes to register

  • Property mode set to 100644
File size: 490 bytes
Line 
1package com.example.moviezone.service;
2
3import com.example.moviezone.model.Role;
4import com.example.moviezone.model.User;
5
6import java.util.List;
7
8public 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.