title: Iterate through dynamic form object
body: <p>Using mvc i get values like this to avoid class declarations and router changes.</p>
  
  <pre><code>public dynamic Create([FromBody] dynamic form)
  {
      var username = form["username"].Value;
      var password = form["password"].Value;
      var firstname = form["firstname"].Value;
  ...
  </code></pre>
  
  <p>I like to iterate through all values and check them for null or empty.</p>