Create UserService.java

Signed-off-by: jeet041 <mahorjitendra@gmail.com>
This commit is contained in:
jeet041 2025-04-24 00:45:06 +05:30 committed by GitHub
parent c9481d6edf
commit 297c5f474d
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
}
}