예제 #1
0
        public async Task Remove(DataSetRemoveCriteria criteria, CancellationToken cancellationToken = default(CancellationToken))
        {
            Argument.IsNotNullOrEmpty(criteria.Name, nameof(criteria.Name));

            var parameters = criteria.ToParameters();
            await apiConnection.Delete($"data/{criteria.Name}", parameters, HttpMessageTransformer, CancellationToken.None).ConfigureAwait(false);
        }
예제 #2
0
        public async Task Remove(DataSetRemoveCriteria criteria)
        {
            Argument.IsNotNullOrEmpty(criteria.Name, nameof(criteria.Name));

            var parameters = criteria.ToParameters();
            await Client.Delete($"{ApiKeys.Endpoint}data/{criteria.Name}", ApiKeys.ApiToken, parameters).ConfigureAwait(false);
        }