Hi guys,
In ASP.NET MVC CORE Project,
I have View Component in the Layout page and pass string type data to it,
and i have View that i pass data of type integer to it,
the problem when run that error appear:
InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'System.Int', but this ViewDataDictionary instance requires a model item of type 'System.String'.