title: MVC pass data from not strongly typed view to controller
body: <p>I am trying to learn MVC and have been stuck on this for quite some time, all the tutorial online uses strongly typed view but my view isn't strongly typed,</p>
  
  <pre><code>@using (Html.BeginForm("addInventory", "AdminController", FormMethod.Post))
  {
      &lt;div class="form-style-2-heading"&gt;Add New Inventory&lt;/div&gt;
      &lt;label&gt;
          &lt;span&gt;No &lt;span class="required"&gt;*&lt;/span&gt;&lt;/span&gt;@Html.TextBox("no", null, new { id = "no", Class = "input-field" })
      &lt;/label&gt;
      &lt;label&gt;
          &lt;span&gt;Name &lt;span class="required"&gt;*&lt;/span&gt;&lt;/span&gt;@Html.TextBox("name", null, new { id = "name", Class = "input-field" })
      &lt;/label&gt;
      &lt;label&gt;
          &lt;span&gt;Primary Type &lt;span class="required"&gt;*&lt;/span&gt;&lt;/span&gt;@Html.DropDownList("typeList", ViewBag.typeList as SelectList, new { id = "primarytype", Class = "select-field" })
      &lt;/label&gt;
      &lt;label&gt;
          &lt;span&gt;Secondary Type &lt;span class="required"&gt;*&lt;/span&gt;&lt;/span&gt;@Html.DropDownList("typeList", ViewBag.typeList as SelectList, new { id = "secondarytype", Class = "select-field"})
      &lt;/label&gt;
  
      &lt;label&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;input type="submit" value="Submit" /&gt;&lt;/label&gt;
  }
  </code></pre>
  
  <p>So I successfully binded my dropdown list with data from the controller but I can't seem to do it the other way round </p>
  
  <p>Edit:</p>
  
  <p>Model:</p>
  
  <pre><code>public class inventoryModel
  {
      public int no { get; set; }
      public string name { get; set; }
      public int primaryType { get; set; }
      public int secondaryType { get; set; }
  }
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>private ActionResult addInventory()
  {
  
     return View();
  }
  </code></pre>