title: get data from strongly typed view in controller
body: <p>I have strongly typed view and I want to get the data in the controller.
  This is what I have:</p>
  
  <pre><code>@model WordAutomation.Models.Document
  
  @{
      ViewBag.Title = "Document";
  }
  
  &lt;h2&gt;Document&lt;/h2&gt;
  
  @using (Html.BeginForm()) {
      @Html.ValidationSummary(true)
  
      &lt;fieldset&gt;
          &lt;legend&gt;Document&lt;/legend&gt;
  
          &lt;div class="editor-label"&gt;
              @Html.LabelFor(model =&gt; model.CaseNumber)
          &lt;/div&gt;
          &lt;div class="editor-field"&gt;
              @Html.EditorFor(model =&gt; model.CaseNumber)
              @Html.ValidationMessageFor(model =&gt; model.CaseNumber)
          &lt;/div&gt;
  
          &lt;p&gt;
              &lt;input type="submit" value="Create" /&gt;
          &lt;/p&gt;
      &lt;/fieldset&gt;
  }
  
  
  @section Scripts {
      @Scripts.Render("~/bundles/jqueryval")
  }
  </code></pre>
  
  <p>And then, in the controller I have this:</p>
  
  <pre><code>[HttpPost]
          public ActionResult Document(FormCollection formValue)
          {
              string test = formValue[0].ToString();
              return View();
          }
  </code></pre>
  
  <p>But no data comes up. Any idea what am I doing wrong?
  Thanks</p>