Anjali Khan

Anjali Khan

  • NA
  • 867
  • 213.9k

The model item passed into the dictionary is of type 'CashMa

Feb 23 2017 8:30 AM

hi frnds

 

i am display the details using id in a html table but getting the error like
 
The model item passed into the dictionary is of type 'CashManagementSystemUtility.ViewModel.IncidentSummaryViewModel', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1
 
 
how to solve this error
 
my view like this  

@model IEnumerable<Registerdatautility.ViewModel.RegisterViewModel>

@{

Layout = "~/Views/Shared/_LayoutDashboard.cshtml";

}

 

Answers (2)