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

Last change on this file since 11d7b36 was 5444409, checked in by milamihajlovska <mila.mihajlovska01@…>, 21 months ago

update register and registerWorker

  • Property mode set to 100644
File size: 714 bytes
Line 
1package com.example.moviezone.service;
2
3import com.example.moviezone.model.Cinema;
4import com.example.moviezone.model.Role;
5import com.example.moviezone.model.User;
6
7import java.util.List;
8
9public interface UserService {
10 List<User> findAllUsers();
11 User findById(Integer user_id);
12 User findByUsername(String username);
13
14 void register(String first_name, String last_name,String username, String email, String number, String password, Role role);
15 User login(String username,String password);
16 void registerWorker(String first_name, String last_name, String username, String email, String number, String password, String position, String work_hours_from, String work_hours_to, Cinema cinema);
17}
Note: See TracBrowser for help on using the repository browser.