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'.

Nitin BhardwajPosted Jun 29, 2017, 2:41 AM
Nigel FernandesPosted Jun 29, 2017, 2:37 AM