tg-register-backend/src/main/java/com/tourist/app/service/UserInterface.java
<filename>tg-register-backend/src/main/java/com/tourist/app/service/UserInterface.java<gh_stars>0package com.tourist.app.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.tourist.app.entity.User;

@Service
public interface UserInterface {

	public List<User> getAllUsers();

	public User getUserbyId(String id);

	public List<User> getUserbyFirstName(String firstName);

	public List<User> getUserbyLastName(String lastName);

	public List<User> getUserbyCity(String city);

	public List<User> getUserbyCountry(String country);

	public List<User> getUserbyState(String state);

	public User getUserbypreferredLanguage(String prefLanguage);

	public void deleteUserById(String id);

	public User updateUserbyId(String id);

	public User createUser(User user);

}
