SyntaxFix
Write A Post
Hire A Developer
Questions
great code; little hint: if you sometimes have to bypass more data and not only the viewmodel ..
if (model is ViewDataDictionary) { controller.ViewData = model as ViewDataDictionary; } else { controller.ViewData.Model = model; }