title: How to retrieve JsonResult data
body: <p>I have the following Action in my layouts Controller</p>
  
  <pre><code>public JsonResult getlayouts(int lid)
  {
      List&lt;layouts&gt; L = new List&lt;layouts&gt;();
      L = db.LAYOUTS.Where(d =&gt; d.seating_plane_id == lid).ToList()
  
      return new JsonResult { Data = L, JsonRequestBehavior = JsonRequestBehavior.AllowGet };
  }
  </code></pre>
  
  <p>I am calling this Action from another controller like so:</p>
  
  <pre><code>layoutsController L = new layoutsController();
  JsonResult result = L.getlayouts(lid);
  </code></pre>
  
  <p>My question is: how can I get the data from result object?</p>