Hi,
I have created dynamic menu using ViewComponent. and it's working with return blank view() but if I am returning some view(Model). It's throw an error.
InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'A', but this ViewDataDictionary instance requires a model item of type 'B'.


Nigel FernandesRank #753 · 3.1K reputationPosted Jun 28, 2017, 10:37 PM EDT
Nitin BhardwajRank #139 · 16.1K reputationPosted Jun 28, 2017, 10:41 PM EDT