示例#1
0
 public UserEntity RestoreUser(int userId)
 {
     try {
         var user = _userEngine.RestoreUser(userId);
         if (user == null)
         {
             return(null);
         }
         RePullUsers();
         return(user);
     } catch (Exception e) {
         _exceptionHandlerLogic.LogExceptionAsync(e);
         throw e;
     }
 }