title: Passing Model via dropDownListFor() from view to controller
body: <p>I am trying to pass a Model from my view to my controller using dropDownListFor.
  After choosing something from the list it sends the model to my controller but it's content <code>NULL</code>.</p>
  
  <p>This is what i have for the Model</p>
  
  <pre><code>public class Model
  {
      public int ModelId { get; set; }
      [Required]
      public string Name { get; set; }
  }
  </code></pre>
  
  <p>This is what my ViewModel looks like</p>
  
  <pre><code>public class ModelVM
  {
      public List&lt;Model&gt; Models;
      public Model SelectModel { get; set; }
      public IEnumerable&lt;SelectListItem&gt; ModelItems
      {
          get { return new SelectList(Models, "ModelId", "Name"); }
      }
  }
  </code></pre>
  
  <p>The controller when i put data in the ViewModel looks like this</p>
  
  <pre><code>    public ActionResult Index()
      {
          ModelVM modelVM= new ModelVM()
          {
              Models = manager.GetAllModels().ToList()
          };
          return View(modelVM);
      }
  </code></pre>
  
  <p>Finally this is what i have in the View for the dropDownList</p>
  
  <pre><code>    @using (Html.BeginForm("Home", "Home", FormMethod.Post))
      {
          @Html.DropDownListFor(model =&gt; model.SelectModel, Model.ModelItems)
          &lt;input type="submit" value="Go" /&gt;
      }
  </code></pre>
  
  <p>So this is supposed to send Model to my controller.
  But when i check the content of the passed Model in the controller, everything is <code>NULL</code> which isn't supposed to be because when i debug the view and check for the content of ModelItems, everything in the ModelItems is there.</p>
  
  <p>Here is when i check the content of the passed Model</p>
  
  <pre><code> public ActionResult Home(Model model) &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Content == NULL
      {
          return View();
      }
  </code></pre>