public Boolean ActivateUser(int userId, ref string message) { if (UserExists(userId)) { return(userDAO.ActivateUser(userId, ref message)); } else { message = "Cannot get user for this ID"; return(false); } }
public Boolean ActivateUser(int userId, ref string message) { if (UserExists(userId)) { return(userDAO.ActivateUser(userId, ref message)); } else { message = "Cannot get user for this ID"; return(false); } }