I have this Model
:
public class ChildClass : BaseClass
{
}
This Controller
method:
public ActionResult ChildClassMethod(ChildClass model)
{
return PartialView("Partials/BaseClassView", model);
}
And this View
:
@model BaseClass
I get the exception that I'm passing in the wrong model... is there any way for me to make this work?