title: MVC - Pass entire model as parameter to Url.Action in javascript
body: <p>Can I pass the entire model as a parameter to Url.Action orsimilar?</p>
  
  <p>Actually, I pass a parameter to the controller and I load the model, but I would like to pass entire model.</p>
  
  <pre><code>window.location.replace('@Url.Action("Search", "Search", new { idSong = Model.IDSong })');
  </code></pre>