package bg.car_wash.areas.user.services;

import bg.car_wash.areas.user.entity.User;
import bg.car_wash.areas.user.models.bindingModels.user.UserLoginBindingModel;
import bg.car_wash.areas.user.models.viewModels.user.UserSessionViewModel;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserService extends UserDetailsService {

	void createUser(User userRegisterBindingModel);

	UserSessionViewModel getUserByFullNameAndPassword(UserLoginBindingModel userLoginBindingModel);

	List<User> findAllUsers();
}

@@ -125,29 +125,24 @@
 ndingModels.
-user.
 UserLoginBin
@@ -200,21 +200,16 @@
 wModels.
-user.
 UserSess
@@ -433,106 +433,8 @@
 );%0A%0A
-%09UserSessionViewModel getUserByFullNameAndPassword(UserLoginBindingModel userLoginBindingModel);%0A%0A
 %09Lis

remove method getUserByFullNameAndPassword()