public async Task <bool> UpdateDetectionRulesFullWebRequestReorderRulesAsync(StubList body = null, CancellationToken cancellationToken = default)
        {
            var response = await GetDetectionRulesFullWebRequestUrl()
                           .AppendPathSegment("order")
                           .PutJsonAsync(body, cancellationToken)
                           .ConfigureAwait(false);

            return(response.IsSuccessStatusCode);
        }
Example #2
0
        public async Task <bool> UpdateCustomServiceReorderRulesAsync(CustomServiceTechnologies technology, StubList body = null, CancellationToken cancellationToken = default)
        {
            var response = await GetCustomServicesUrl(technology)
                           .AppendPathSegment("order")
                           .PutJsonAsync(body, cancellationToken)
                           .ConfigureAwait(false);

            return(response.IsSuccessStatusCode);
        }