title: How can I redirect from View to controller method that has to return another view
body: <p>I have a view that contains a button which on click has to redirect to method in the controller that returns another view. The thing is that this method accepts arguments and I don't know exactly how to pass them se every time I click the button it redirects correctly?</p>
  
  <p>The method:</p>
  
  <pre><code>public virtual ActionResult Classificate (int firstArg, int secondArg)
          {
              //Some logics
              return View(MVC.Document.Views.MyView, model: result);
          }
  </code></pre>
  
  <p>html:</p>
  
  <pre><code>&lt;div id="my-button-id"&gt;Button&lt;/&gt;
  </code></pre>
  
  <p>and in the view's html I want to be able to write a js code that on every <strong>"#my-button-id"</strong> click redirects with 2 parameters that I pass to the function to the method in the controller.</p>
  
  <p>pseudecode:</p>
  
  <pre><code>$("#my-button-id").on('click',function(){
      redirectToOtherView(4, 5)
  });
  
  function redirectToOtherView(fArg, sArg){
      //this function to redirect to the Classificate method in the Document controller
      //by passing the arguments
  }
  </code></pre>