Esempio n. 1
0
        public async Task <Empty> ValidateRelationAsync(string relationId)
        {
            var validateRelationQuery = new ValidateRelationQuery()
            {
                RelationId = relationId
            };
            var response = await _client.ValidateRelationAsync(validateRelationQuery);

            return(Task.FromResult(response).Result);
        }
Esempio n. 2
0
        public Task <Empty> ValidateRelation(string relationId)
        {
            var validateRelationQuery = new ValidateRelationQuery()
            {
                RelationId = relationId
            };
            var response = _client.ValidateRelation(validateRelationQuery);

            return(Task.FromResult(response));
        }