title: Change BeginForm action based on viewdata in partialview?
body: <p>I have a partial view that exists multiple times on the same page. This is added to the view : </p>
  
  <pre><code>@Html.Partial("PersonalTagPartial", Model.PT, new ViewDataDictionary{{"TagTypeControl", 1}} )
  
  @Html.Partial("PersonalTagPartial", Model.PT, new ViewDataDictionary{{"TagTypeControl", 0}} )
  </code></pre>
  
  <p>Then in the partialview I got a submit form like this : </p>
  
  <pre><code>@using (Html.BeginForm("AddPersonalTag", "Post", FormMethod.Post, new { id = "frmAddPersonalTags" })){
  </code></pre>
  
  <p>How do I change the AddPersonalTag to RemovePersonalTag when TagTypeControl is set to 0?</p>