title: Url.Action to a post Action in a Controller
body: <p>I have a cshtml which is displaying a model:</p>
  
  <pre><code>           &lt;div&gt;
                      &lt;h3&gt;@WebMVCStrings.Title&lt;/h3&gt;
                      &lt;span&gt;@Html.DisplayFor(model =&gt; model.Title.Value)&lt;/span&gt;
                  &lt;/div&gt;
  
                  &lt;div class="lead-summary__text"&gt;
                      &lt;h3&gt;@WebMVCStrings.Name&lt;/h3&gt;
                      &lt;span&gt;@Html.DisplayFor(model =&gt; model.Name)&lt;/span&gt;
                  &lt;/div&gt;
  
                  &lt;div class="lead-summary__text"&gt;
                      &lt;h3&gt;@WebMVCStrings.Surname&lt;/h3&gt;
                      &lt;span&gt;@Html.DisplayFor(model =&gt; model.Surname)&lt;/span&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>Then I have two button which should go to different actions in different controller.  My buttons are as follows:</p>
  
  <pre><code>   &lt;div&gt;
  
          &lt;button id="createC"&gt;
              &lt;i class="icon-arrow-left"&gt;&lt;/i&gt; Back
          &lt;/button&gt;
  
          &lt;button id="createL"&gt;
             Submit
          &lt;/button&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>And I have javascript for both buttons:</p>
  
  <pre><code>&lt;script&gt;        
  $("#createL").on("click", function (e) {
          window.location = "@Url.Action("CreateL", "LedController")&amp;clientCode=@Model.ClientCode&amp;ledId=0";
      });
  
      $("#createC").on("click", function (e) {
          window.location = "@Url.Action("CreateC", "ClientController", Model)";
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>However when I click on the back button which is supposed to go to the CreateC action in the ClientController, it does not hit it.</p>
  
  <p>My action CreateC is as follows:</p>
  
  <pre><code>[HttpPost]
      [ValidateAntiForgeryToken]
      public ActionResult CreateC(ClientViewModel clientViewModel)
      {*some actions*}
  </code></pre>
  
  <p>Any idea of how to do this?  Thanks</p>