You have to the parent model. Pass this: @await Html.PartialAsync("Create", new CustomerViewModel()) Or in the view change the model.
確定! 回上一頁