Create UserService.java

Signed-off-by: jeet041 <mahorjitendra@gmail.com>
This commit is contained in:
jeet041 2025-04-24 00:45:34 +05:30 committed by GitHub
parent 76ff9273ca
commit a3b9c39b86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,14 @@
// File: UserService.java
public class UserService {
public String getUserName(int userId) {
return "User" + userId;
}
public boolean isUserActive(int userId) {
return true;
}
public void updateUserStatus(int userId, boolean isActive) {
// update logic here
}
}