title: IEnumerable<Mileage> doesn't contain definition for ExpMonthYr
body: <p>I added @model IEnumerable instead of @model TravelSOCC.Models.LansingMileage which will no longer allow me to access my ExpMonthYr</p>
  
  <p>I know according to the documentation these two functions should be seperated as they are performing different task just was trying to make the end user have fewer pages to navigate.</p>
  
  <p>What this is supposed to do is allow a user to select a date from the datepicker and then update the database and have it be re-displayed in a table using the <code>@foreach</code> this means that I need to be able to use both the <code>@Html.EditorFor</code> and the <code>@Foreach</code> within the same view but not within the same table.</p>
  
  <pre><code>    @model IEnumerable&lt;TravelSOCC.Models.LansingMileage&gt;
  
      &lt;h3&gt;STATE OFFICERS COMPENSATION COMMISSION (SOCC)&lt;/h3&gt;
  
      @using (Html.BeginForm())
      {
  
          &lt;table class="table"&gt;
              &lt;tr&gt;
                  &lt;th&gt;Senator Information&lt;/th&gt;
                  &lt;th&gt;Monthly Expense Summary&lt;/th&gt;
                  &lt;th&gt;Expense Month/Year&lt;/th&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;State Senator&lt;/td&gt;
                  &lt;td&gt;Mileage Total:&lt;br /&gt;Expense Total:&lt;br /&gt;&lt;strong&gt;Total:&lt;/strong&gt;&lt;/td&gt;
                  &lt;!--This will become a datepicker--&gt;
                  &lt;td&gt;@Html.EditorFor(model =&gt; model.ExpMonthYr, new { htmlAttributes = new { @class = "datepicker", Name = "expenseDate" } })&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      }
     &lt;table id="LansingData" class="display"&gt;
          &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th&gt;Expense Month/Yr&lt;/th&gt;
                  &lt;th&gt;Travel Date&lt;/th&gt;
                  &lt;th&gt;Travel Type&lt;/th&gt;
              &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt;
              @foreach (var item in Model)
              {
                  &lt;tr id=""&gt;
                      &lt;!--Here is where I will create a table to display my data from the above section--&gt;
                  &lt;/tr&gt;
              }
          &lt;/tbody&gt;
      &lt;/table&gt;
  </code></pre>