title: How can I pass model with sub-model list to Controller from Razor .net Core
body: <p>I have the models below</p>
  <pre><code>public class Param
  {
     public string Code {get;set;}
     public dynamic Value {get;set;}
  }
  
  public class BaseModel
  {
    public string Code
    public List&lt;Param&gt; Params
  }
  </code></pre>
  <p>How should i use this model in Razor page, and how should I pass to controller view another Razor page.</p>
  <p>Edit : My mistake. The Value property of Task is dynamic. When the type is dynamic the value not pass :(
  Tnks in advance.</p>