Open cmiriyala opened 6 years ago
Solved this by adding NewCustomerViewModel data to RandomMovieViewModel
thanks man it worked fine
Ya, I resolved the issue, You have written @model MoRe.ViewModels.RandomMovieViewModel in Layout.cshtml, Check once and remove that, it works as you expected. Really Mosh is not responding to it all. Even though we are going with Apid Services.
Hello Sir,
Even though I have included required ViewModel in the View, there is an error as follows.
The model item passed into the dictionary is of type 'MoRe.ViewModels.NewCustomerViewModel', but this dictionary requires a model item of type 'MoRe.ViewModels.RandomMovieViewModel'.
I am unable to fix this error please let me know the solution.