I have a view called AccountManager
on this view I have a section to update your profile information and update your password.
Both functions require a different model. ManageUserViewModel
and ChangePasswordViewModel
.
On the AccountManager
view, both sections are rendered via @Html.Partial
.
When I try to display the page, I receive the following error: "The model item passed into the dictionary is of type 'WebUI.Models.ManageUserViewModel', but this dictionary requires a model item of type 'WebUI.Models.ChangePasswordViewModel'."
How can I render both views without receiving this error?