示例#1
0
 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);
     }
 }