Update UserService.java

Signed-off-by: jeet041 <mahorjitendra@gmail.com>
This commit is contained in:
jeet041 2025-04-24 01:12:25 +05:30 committed by GitHub
parent 201baee320
commit 1e7674896c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,21 +1,21 @@
public class UserService { public class UserService {
public String getUserName(int userId) { public String getUserName(int userId) {
return "User" + userId; return "Feature: User#" + userId;
} }
public boolean isUserActive(int userId) { public boolean isUserActive(int userId) {
return true; return false;
} }
public void updateUserStatus(int userId, boolean isActive) { public void updateUserStatus(int userId, boolean isActive) {
// Update user status in DB System.out.println("Feature branch: updating status to " + isActive);
} }
public void notifyUser(int userId) { public void notifyUser(int userId) {
// Send notification System.out.println("Feature branch: notifying user " + userId);
} }
public void deleteUser(int userId) { public void deleteUser(int userId) {
// Delete user logic System.out.println("Feature branch: deleting user " + userId);
} }
} }