Exemplo n.º 1
0
        private async Task DeleteAsync(int productId)
        {
            var config        = new Config($"{Server}/products/{productId}", false);
            var deleteRequest = new DeleteRequest(config, _responseLogger);
            var response      = await deleteRequest.RunAsync <JsonParser>();

            response.OnAnyFailureThrow();
        }