title: Converting created document result to POCO
body: <p>I have the following code that calls DocumentDB and creates a new Employee document. How do I then convert the result to Employee document again? Basically, I want to capture the created document and convert it to Employee object.</p>
  
  <pre><code>var result = await client.CreateDocumentAsync(collection.SelfLink, employee);
  
  if(result.StatusCode == System.Net.HttpStatusCode.Created)
  {
     Employee emp = result.Resource; // How do I convert the result to Employee object here?
  }
  </code></pre>