title: Convert List to JSon and return it in Web API action
body: <p>I have the following:</p>
  
  <pre><code>var data = new List&lt;DataModel&gt;();
  </code></pre>
  
  <p>Where DataModel is the following:</p>
  
  <pre><code>public class DataModel {
    public DateTime Date { get; set; }
    public Int32 Users { get; set; }
  }
  </code></pre>
  
  <p>How turn this List into a JSON forma and return it in a WebAPI 2.0 action?</p>
  
  <p>Thank you,
  Miguel</p>