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