title: xDocument.Load returning null?
body: <p>From debug I can check that Stream is passing</p>
  
  <pre><code>&lt;POS&gt;
    &lt;Id&gt;4&lt;/Id&gt;
    &lt;FolderPath&gt;C://FolderPath&lt;/FolderPath&gt;
    &lt;Number&gt;44&lt;/Number&gt;
    &lt;POSTillTypeRecord&gt;Tilltype&lt;/POSTillTypeRecord&gt;
    &lt;StockLocationRecord&gt;StockLocationRec&lt;/StockLocationRecord&gt;
  &lt;/POS&gt;
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>public XmlActionResult Upload()
      {
          //List&lt;POSUnitRecord&gt; POSs = null;
  
          try
          {
              using (var up = new StreamReader(Request.InputStream))
              {   
  
                  POSUnitRecord POS =
                          (
                                 from e in XDocument.Load(up).Root.Elements("Payment")  //POS")
                                 //select (string)e.Element("POS")                                  
                                 select new POSUnitRecord
                                 {
                                     Id = Int32.Parse((string)e.Element("Id")),
                                     FolderPath = (string)e.Element("FolderPath"),
                                     Number = Int32.Parse((string)e.Element("Number")),
  
                                     //POSTillTypeRecord = (string)e.Element("POSTillTypeRecord"),
                                     //StockLocationRecord = (string)e.Element("StockLocationRecord")                                   
                                 }
                             ).FirstOrDefault();
  </code></pre>
  
  <p>why is POSUnitRecord POS returning NULL. Something to do with payment/POS?</p>