public async Task <Empty> ValidateRelationAsync(string relationId) { var validateRelationQuery = new ValidateRelationQuery() { RelationId = relationId }; var response = await _client.ValidateRelationAsync(validateRelationQuery); return(Task.FromResult(response).Result); }
public Task <Empty> ValidateRelation(string relationId) { var validateRelationQuery = new ValidateRelationQuery() { RelationId = relationId }; var response = _client.ValidateRelation(validateRelationQuery); return(Task.FromResult(response)); }