public Task <ObjectRelations> GetEdges(string objectId) { var objectIdQuery = new ObjectIdQuery() { ObjectId = objectId }; var response = _client.GetEdges(objectIdQuery); return(Task.FromResult(response)); }
public async Task <ObjectRelations> GetEdgesAsync(string objectId) { var objectIdQuery = new ObjectIdQuery() { ObjectId = objectId }; var response = await _client.GetEdgesAsync(objectIdQuery); return(Task.FromResult(response).Result); }