title: Can't pass ViewBag info to the DropDownListFor
body: <p>I have the following problem:</p>
  
  <p>I create Db context and then transfer it to IQueryable. After that I extract distinct values. It queries the results perfectly (I checked in debugger). I create the viewbag:</p>
  
  <pre><code>public ActionResult Create()
  {
      var forDistinct = db.Cases.AsQueryable();
      var Issue_Type = forDistinct.DistinctBy(x =&gt; x.Issue_Type).Select(col =&gt; col.Issue_Type).ToList();
      ViewBag.DropDown = new SelectList(Issue_Type);
      return View();
  }
  </code></pre>
  
  <p>I set the DropDownListFor as follows:</p>
  
  <pre><code>@Html.DropDownListFor(model =&gt; model.Issue_Type, ViewBag.DropDown as IEnumerable&lt;SelectListItem&gt;)
  </code></pre>
  
  <p>When I try to save new item, the following error occurs: </p>
  
  <pre><code>The ViewData item that has the key 'Issue_Type' is of type 'System.String' but must be of type 'IEnumerable&lt;SelectListItem&gt;
  </code></pre>
  
  <p>What to do?</p>