title: How to use FromQuery Attribute get a complex object?
body: <p>How to use FromQueryAttribute get a complex object?</p>
  
  <pre><code>[HttpGet]
  public IActionResult Get([FromQuery] DataGridRequest request)
  {
      ...
  }
  </code></pre>
  
  <p>The DataGridRequest class like this:</p>
  
  <pre><code>public class DataGridRequest
  {
      public DataGridPager Pager { get; set; }
  
      ...
  }
  
  public class DataGridPager
  {
      public int Size { get; set; }
  
      public int Index { get; set; }
  }
  </code></pre>
  
  <p>How to write the uri?</p>