title: Getting start date and end date value from view to controller without using model
body: <p>I have a view which contain two fields start date, end date of type Date and button on button click controller return collection .
  and a model of I Enumerable type.
  I want to get start date and end date value in controller and process my stuff and return to the same view and display here all collection using foreach loop</p>
  
  <p>Here is my view </p>
  
  <pre><code>@model IEnumerable&lt;EChallan.DataModel.CustomModel.OffenceCodeByDateCM&gt;
  
  @{
      ViewBag.Title = "OffenceCodeByDate";
      Layout = "~/Views/Shared/_Layout.cshtml";
  }
  &lt;h2 style="color:White"&gt;Offence Code By Date&lt;/h2&gt;
  &lt;div style="text-align: center; width: 100%;"&gt;
  
  
      &lt;table&gt;
          @using (Html.BeginForm("OffenceCodeByDate", "Report", FormMethod.Post))
          {
  
               @*@String.Format("{0:dd-MMMM-yyyy}", item.Documentdate)*@        
              &lt;tr&gt;
                  &lt;td&gt;
  
                      &lt;span class="login-text"&gt;Star Date:&lt;/span&gt; &lt;span class="inpt-css"&gt;
                  &lt;/td&gt;
                  @*&lt;td&gt; @Html.TextBoxFor(model =&gt; model.NAME, new { @required = "true" })&lt;/td&gt;*@
                  &lt;td&gt;
                  @Html.TextBoxFor(model =&gt; model.StartDate, new { @required = "true", type = "date" , value="startdate" })
                  &lt;/td&gt;
  
  
  
                  &lt;td&gt; &lt;button id="btnsubmit" type="submit" name="Report" class="btn btn-large btn-info pull-right"&gt;Report &lt;/button&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          }
      &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and model</p>
  
  <pre><code>public class OffenceCodeByDateCM
  {
      public DateTime StartDate { get; set; }
      public DateTime EndDate { get; set; }
      public string Code { get; set; }
      public int Tickets { get; set; }
      public int Fine { get; set; }
  }
  </code></pre>