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

Last change on this file since fdc651c 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 
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 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.