This maybe really stupid but I just can't figure it out...
So here is the problem. I have a model say A and a model B.
class A
{
B b = new B();
}
class B
{
...
}
Now, I have a ViewModel for B (but not for A).
So, now I have a view storngly typed to A. And it calls another partial view B to render all the properties of B. But now, how to I pass the viewmodel for B to the partial view? I can pass the model by just calling Model.b but not the viewmodel!