title: Custom .Net MVC action parameter names inside a type
body: <p>I'm creating a web application which will receive form data from another service. This other service posts its data using a data model with snake case which I can parse using the default model binder by defining the data model below:</p>
  
  <pre><code>public class OtherServiceModel 
  {
      public string property { get; set; }
      public DateTime another_property { get; set; }
      public CustomType one_more_property { get; set; }
  }
  </code></pre>
  
  <p>and using the following action:</p>
  
  <pre><code>public ActionResult PostFromOtherService(OtherServiceModel model)
  </code></pre>
  
  <p>Now, for many reasons, I would really want to use this model instead:</p>
  
  <pre><code>public class OtherServiceModel 
  {
      public string Property { get; set; }
      public DateTime AnotherProperty { get; set; }
      public CustomType OneMoreProperty { get; set; }
  }
  </code></pre>
  
  <p>Is this possible without having to create my own model binder? Or is there an easy solution using a custom model binder?</p>
  
  <p>I'm aware of the [Bind] attribute but, for many reasons, I can't define all of my action parameters directly in the action method signature (I need a type defining the model).</p>