public static Boolean checkExistUserId(int id, out string userPassword) { User curr = ItemAuthHandler.checkExistUserId(id); userPassword = curr.userPassword.ToString(); if (curr != null) { return(true); } else { return(false); } }
public static Boolean checkExistUserId2(int id, out string userEmail, out string userName, out string userGender) { User curr = ItemAuthHandler.checkExistUserId(id); userEmail = curr.userEmail.ToString(); userName = curr.userName.ToString(); userGender = curr.userGender.ToString(); if (curr != null) { return(true); } else { return(false); } }