Exemplo n.º 1
0
        public object Post(ProcessConnectionManagerControlRequest request)
        {
            var response = PostAsync(request.RequestStream, _connectionManager);

            return(ResultFactory.GetResult(response.Xml, XMLContentType));
        }
Exemplo n.º 2
0
        public async Task<object> Post(ProcessConnectionManagerControlRequest request)
        {
            var response = await PostAsync(request.RequestStream, _connectionManager).ConfigureAwait(false);

            return ResultFactory.GetResult(response.Xml, "text/xml");
        }
Exemplo n.º 3
0
        public object Post(ProcessConnectionManagerControlRequest request)
        {
            var response = PostAsync(request.RequestStream, _connectionManager).Result;

            return ResultFactory.GetResult(response.Xml, "text/xml");
        }
Exemplo n.º 4
0
        public object Post(ProcessConnectionManagerControlRequest request)
        {
            var response = PostAsync(request.RequestStream, _connectionManager).Result;

            return(ResultFactory.GetResult(response.Xml, "text/xml"));
        }
Exemplo n.º 5
0
        public async Task <object> Post(ProcessConnectionManagerControlRequest request)
        {
            var response = await PostAsync(request.RequestStream, _connectionManager).ConfigureAwait(false);

            return(ResultFactory.GetResult(response.Xml, XMLContentType));
        }