title: How to use DropdownListFor on Multiple model view
body: <p>It's been a while since I visited StackOverflow...</p>
  
  <p>So, i've started using ASP.NET MVC4 with Razor, using a Model-first approach to Entity Framework. So far i've liked it , althoug I have had problems remembering certain stuff.</p>
  
  <p>For example, now i'm trying to implement a simple Login form, that includes Username + Password + UserType. However, as I recall from my experiences from MVC3, you cannot pass along two models... unless you use a Tuple.</p>
  
  <p>So, my objective is to create the form via @HTML helpers, but the only one i've been unable to use is the DropdownListFor, that would bring forth the list of User Types and apply them in the form.</p>
  
  <pre><code>@model Tuple&lt;EMS_v1.User, EMS_v1.UserType&gt;
  @{
  ViewBag.Title = "Log in";
  }
  
  &lt;section id="loginForm"&gt;
  &lt;h2&gt;Use a local account to log in.&lt;/h2&gt;
  @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
  @Html.AntiForgeryToken()
  @Html.ValidationSummary(true)
  
  &lt;fieldset&gt;
      &lt;legend&gt;Log in Form&lt;/legend&gt;
      &lt;ol&gt;
          &lt;li&gt;
              @Html.Label(" User Name")
              @Html.TextBoxFor(m =&gt; m.Item1.User_Name)
              @Html.ValidationMessageFor(m =&gt; m.Item1.User_Name)
          &lt;/li&gt;
          &lt;li&gt;
              @Html.Label("Password")
              @Html.PasswordFor(m =&gt; m.Item1.User_Pass)
              @Html.ValidationMessageFor(m =&gt; m.Item1.User_Pass)
          &lt;/li&gt;
          &lt;li&gt;
              @Html.Label("Portal Access")
        &gt;&gt;&gt;&gt;&gt; @Html.DropDownListFor(model =&gt; model.Item2.Type_Id, new SelectList(Model.Item2, "Type_Id", "Description"));
          &lt;/li&gt;
      &lt;/ol&gt;
      &lt;input type="submit" value="Log in" /&gt;
  &lt;/fieldset&gt;
  }
  &lt;/section&gt;
  
  @section Scripts {
      @Scripts.Render("~/bundles/jqueryval")
  }
  </code></pre>
  
  <p>My Entity Framework Model includes UserType (int Type_Id, String Description) and User (int Id, String User_Name, String User_Pass, UserTypeType_Id), being UserTypeType_Id a Foreign Key that refers back to UserType table.</p>
  
  <p>Is there any way to generate the list or IEnumerable from the UserType table? because I'm sure the code I posted doesn't work properly.</p>