title: Loop Entity when getting data
body: <p>I have 2 entities as below:</p>
  <pre><code>public class Company
  {
      public int Id { get; set; }
      public string Name { get; set; }
      public ICollection&lt;Employee&gt; Employees { get; set; }
  }
  public class Employee
  {
      public int Id { get; set; }
      public string Name { get; set; }
      public Company Company { get; set; }
  }
  </code></pre>
  <p>Code for getting company by Id:</p>
  <pre><code>    var queryable = await _repository.GetQueryableAsync();
      var companyDto = await queryable
          .Include(x =&gt; x.Employees)
          .Where(x =&gt; x.Id == id)
          .FirstOrDefaultAsync();
  </code></pre>
  <p>It causes the loop (Company gets Employees, in Employee gets Company, and so on...)</p>
  <p>And API cannot response data and show an error 500.</p>
  <p>How to deal with this?</p>