title: Pass model value to controller method?
body: <p>How do you pass this model value from view to the controller method?</p>
  
  <p>View:</p>
  
  <pre><code>  @using (Html.BeginForm("SearchMethod", "Home", new { area = "Timetables" }))
                                 {
                                  @Html.TextBoxFor(modelItem =&gt; modelItem.Sessionstateadminroot.CourseSearchPara)
                                  &lt;button type="submit" &gt;Search&lt;/button&gt;
                                 }
  </code></pre>
  
  <p>Controller method:</p>
  
  <pre><code>[Route("SearchMethod/{searchpara=Test}")]
          public ActionResult SearchMethod(string searchpara) 
          {
  </code></pre>