Here is code example of what i am asking.
public ActionResult Action()
{
object person = new Person(); //It works if i replace object with Person
UpdateModel(person); //this does not update person because of "object" declaring type
return View();
}
What is best way to update model if if i determine model type at runtime ?