Check import results
This commit is contained in:
@ -36,7 +36,17 @@ namespace Hcs.Client.Api.Request.HouseManagement
|
||||
throw RemoteException.CreateNew(error.ErrorCode, error.Description);
|
||||
});
|
||||
|
||||
return true;
|
||||
var importResults = result.Items.OfType<getStateResultImportResult>();
|
||||
var commonResults = GetCommonResults(importResults);
|
||||
foreach (var commonResult in commonResults)
|
||||
{
|
||||
if (commonResult.ItemElementName == ItemChoiceType26.ImportAccount)
|
||||
{
|
||||
return commonResult.Item is getStateResultImportResultCommonResultImportAccount;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private importAccountRequestAccount GetAccountFromPayload(ImportAccountDataPayload payload)
|
||||
|
||||
Reference in New Issue
Block a user