Exemple #1
0
        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);
        }
Exemple #2
0
        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));
        }