I am developping my first application in Asp. I am using the environment Asp.NET MVC 3. I have a controller Action that has a single parameter. The type of this parameter is a complex object.
public ActionResult MyAction(ComplexObj obj) {
//TODO: using obj
}
I am using a ModelBinder class. But I am not sure if I should override the BindModel function or the CreateModel one.
What's the difference beween those two functions and when they are used exactely by the rooter.
Thanks !