Hi, so I'm building a site and have run into this issue which smells a bit and was wondering if someone had a better solution, or a different offering or ...
Ok so I have a set of controllers with a shared _layout. The shared layout has some dynamic areas so for that I am using child actions on a PartialController class. This all works fine except for when the ChildAction needs some form of communication from the parent. E.g. if there was some logic to do something different on the HomePage than on any other page. Currently I am making sure every Model on my parent's inherit from a BaseViewModel and passing it into the childaction using ViewData.Model. Sometimes I think I just look at this stuff too much and it starts not looking right :)
