title: How to bind multiple parameter to MVC Controller| restangularjs?
body: <p>I am developing an AngularJs application.The services are developed in asp.net mvc 4.</p>
  
  <p>For the ajax calls, I am using restangularjs.</p>
  
  <p>The server action method is like below:</p>
  
  <pre><code>   public AjaxResult ThirdPartyLogin(GoogleAuthResult googleAuthResult, LoginType loginType)
     {}
  
      public class GoogleAuthResult
      {
          public string Code { get; set; }
          public string Access_Token { get; set; }
      }
  </code></pre>
  
  <p>The javascript part:</p>
  
  <pre><code>        rest.all('route----sample').post({
              loginType: 'Google',
              googleAuthResult: {code: '23884kjso'}
          });
  </code></pre>
  
  <p>But, the model binding is not working in action method, always getting null in all properties.</p>