Exemplo n.º 1
0
        public Task <ObjectRelations> GetEdges(string objectId)
        {
            var objectIdQuery = new ObjectIdQuery()
            {
                ObjectId = objectId
            };
            var response = _client.GetEdges(objectIdQuery);

            return(Task.FromResult(response));
        }
Exemplo n.º 2
0
        public async Task <ObjectRelations> GetEdgesAsync(string objectId)
        {
            var objectIdQuery = new ObjectIdQuery()
            {
                ObjectId = objectId
            };
            var response = await _client.GetEdgesAsync(objectIdQuery);

            return(Task.FromResult(response).Result);
        }