title: Using Html.BeginForm to post to the current controller
body: <p>I have a partial that is used in several views.
  The partial contains forms. The action when a form is submited is allways the same, but the controller thats contains the action depends on the view.</p>
  <p>Lets say I have  Controllers that each have an action ActOnChoosenPerson:</p>
  <blockquote>
  <p>FireStaffController</p>
  <p>HireStaffController</p>
  </blockquote>
  <p>I have a partial</p>
  <blockquote>
  <p>PersonList.ascx</p>
  </blockquote>
  <p>The forms are rendered as</p>
  <blockquote>
  <p>Html.BeginForm(&quot;FireStaffController&quot; ,
  &quot;ActOnChoosenPerson&quot;) or</p>
  <p>Html.BeginForm(&quot;HireStaffController&quot; ,
  &quot;ActOnChoosenPerson&quot;)</p>
  </blockquote>
  <p>What is a good way to get rid of the controller parameter? Right now I pass the name of the current controller into the model and use</p>
  <blockquote>
  <p>Html.BeginForm(Model.CurrentController ,
  &quot;ActOnChoosenPerson&quot;)</p>
  </blockquote>
  <p>but that is a bit awkward.</p>