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

            return(Task.FromResult(response));
        }
예제 #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);
        }