これが私が求めているコード例です。
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();
}
実行時にモデルの種類を決定する場合、モデルを更新する最良の方法は何ですか?