public async Task <HttpStatusCode> UpsertDatasetRelationship(DatasetRelationship datasetRelationship) { Guard.ArgumentNotNull(datasetRelationship, nameof(datasetRelationship)); string url = $"{UrlRoot}/datasetrelationship"; return(await PutAsync(url, datasetRelationship)); }
public async Task UpsertDatasetRelationship() { DatasetRelationship datasetRelationship = NewDatasetRelationship(); await AssertPutRequest("datasetrelationship", datasetRelationship, HttpStatusCode.OK, () => _client.UpsertDatasetRelationship(datasetRelationship)); }