Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 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);
        }