title: My controller return correct data but datatable doesnt vizualize it
body: <p>I have a very strange problem for the first time when I use Datatables. My action returns JSON response with correct data to datatable but in view I don't receive table with filled data but JSON format data. Where is the problem?</p>
  <pre><code>public class Proba
  {
      public string Id { get; set; }
      public string Name { get; set; }
      public int Age { get; set; }
  }
  </code></pre>
  <p>Action is</p>
  <pre><code> public ActionResult UserList()
      {
          var data = context.Probas.ToList();
          return Json(new { data = data }, JsonRequestBehavior.AllowGet);
      }
  </code></pre>
  <p>View</p>
  <pre><code>@model IEnumerable&lt;MSklad.Models.Proba&gt;
  
  
  &lt;div class=&quot;col-md-12&quot; style=&quot;margin-top: 30px;&quot;&gt;
          &lt;input type=&quot;button&quot; class=&quot;btn btn-info&quot; value=&quot;Нов потребител&quot; onclick=&quot;location.href='@Url.Action(&quot;Register&quot;, &quot;Account&quot;)'&quot;  style=&quot;margin-bottom: 10px;&quot;/&gt;
          &lt;table id=&quot;myTable&quot;&gt;
              &lt;thead&gt;
                  &lt;tr&gt;
                      &lt;th&gt;
                          Id
                      &lt;/th&gt;
                      &lt;th&gt;
                          Name
                      &lt;/th&gt;
                  &lt;/tr&gt;
              &lt;/thead&gt;
              &lt;tbody&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  
  @section Scripts
  {
      &lt;script&gt;
          $(document).ready( function () {
              $('#myTable').DataTable(
                  {
                      &quot;responsive&quot;: &quot;true&quot;,
                      &quot;ajax&quot;: {
                      &quot;type&quot; : &quot;GET&quot; ,
                      &quot;url&quot; : &quot;@Url.Action(&quot;UserList&quot;,&quot;Account&quot;)&quot; ,
                      &quot;datatype&quot; : &quot;json&quot;
                      },
                      &quot;columns&quot;:
                      [
                          { &quot;data&quot;: &quot;Id&quot; },
                          { &quot;data&quot;: &quot;Name&quot;}
                      ],
                      &quot;language&quot;: {
                          &quot;processing&quot;: &quot;&lt;img src='https://gph.is/2gESFHh' /&gt;&quot;,
                          &quot;emptytable&quot;: &quot;No data found, You may click on &lt;b&gt; Add New &lt;/b&gt; button&quot;
                      }
                  });
          });
      &lt;/script&gt;
  }
  </code></pre>
  <p>Response in browser</p>
  <pre><code>{&quot;data&quot;:[{&quot;Id&quot;:&quot;1&quot;,&quot;Name&quot;:&quot;ime&quot;,&quot;Age&quot;:1}]}
  </code></pre>