-
-
Save kasramp/bc852e994028d1411babeb33fb2e37dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.madadipouya.quarkus.example.service; | |
import com.madadipouya.quarkus.example.entity.User; | |
import com.madadipouya.quarkus.example.exception.UserNotFoundException; | |
import java.util.List; | |
public interface UserService { | |
User getUserById(long id) throws UserNotFoundException; | |
List<User> getAllUsers(); | |
User updateUser(long id, User user) throws UserNotFoundException; | |
User saveUser(User user); | |
void deleteUser(long id) throws UserNotFoundException; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment