title: Passing complex type as parameter of action method. MVC
body: <p>I have a problem with passing data to action method. I created action link in my view in the way shown below:</p>
  
  <pre><code>@model ComplexModel
  
  ...
  
  &lt;a href=@Url.Action( "ComplexAction", "ComplexController", new { complex= @Model, str = "string" } )
  class="ui-btn"&gt;!!!Change all&lt;/a&gt;
  </code></pre>
  
  <p>And action method with to get all passed parameters:</p>
  
  <pre><code>public ActionResult ComplexAction( ComplexModeloAufgabeViewModel complex, string str )
  {
      return View();
  }
  </code></pre>
  
  <p>String is passed correctly, but complex model is allways null. What is happening here? </p>