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