title: C# WEB-API and how to post xml as List
body: <p>My C# web api:</p>
  
  <pre><code>[HttpPost]
  [Route("freeworks")]
  public IHttpActionResult Post([FromBody]List&lt;AgadoFreeWork&gt; value)
  {
  </code></pre>
  
  <p>and I try to test POST as XML</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;AgadoFreeWork&gt;
      &lt;IsPublished&gt;true&lt;/IsPublished&gt;
      ....
  </code></pre>
  
  <p>but I am getting back</p>
  
  <pre><code>{
  Message: "The request is invalid."
  ModelState: {
  value: [1]
  0:  "Error in line 1 position 23. Expecting element 'ArrayOfAgadoFreeWork' from namespace 'http://schemas.datacontract.org/2004/07/Agado.Restful.Classes'.. Encountered 'Element' with name 'ArrayOfAgadoFreeWork', namespace ''. "
  -
  }-
  }
  </code></pre>