I have this action:
[HttpPost]
public ActionResult Test(Test test)
{
...
}
With this class:
public class Test
{
public string txtTest { get; set; }
}
An html form has a text field named txtTest, and I can successfully call into my action above. What property name would allow me to do this:
public class Test
{
[SomeAttribute(Name = "txtTest")]
public string MyTest { get; set; }
}