public async Task <Edge> GetEdgeAsync(string parentObjectId, string relationId) { var relationIdQuery = new RelationIdQuery() { ParentObjectId = parentObjectId, RelationId = relationId }; var response = await _client.GetEdgeAsync(relationIdQuery); return(Task.FromResult(response).Result); }
public Task <Edge> GetEdge(string parentObjectId, string relationId) { var relationIdQuery = new RelationIdQuery() { ParentObjectId = parentObjectId, RelationId = relationId }; var response = _client.GetEdge(relationIdQuery); return(Task.FromResult(response)); }