示例#1
0
        public object Post(ProcessContentDirectoryControlRequest request)
        {
            var response = PostAsync(request.RequestStream, _contentDirectory);

            return(ResultFactory.GetResult(response.Xml, XMLContentType));
        }
示例#2
0
        public object Post(ProcessContentDirectoryControlRequest request)
        {
            var response = PostAsync(request.RequestStream, _contentDirectory).Result;

            return ResultFactory.GetResult(response.Xml, "text/xml");
        }
示例#3
0
        public async Task<object> Post(ProcessContentDirectoryControlRequest request)
        {
            var response = await PostAsync(request.RequestStream, _contentDirectory).ConfigureAwait(false);

            return ResultFactory.GetResult(response.Xml, "text/xml");
        }
示例#4
0
        public async Task <object> Post(ProcessContentDirectoryControlRequest request)
        {
            var response = await PostAsync(request.RequestStream, _contentDirectory).ConfigureAwait(false);

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