vcurtis
asked on
MVC 4 .cshtml Error Getting a system.collections.generic.IEnumerable
I just received the following error when I tried to run my MVC
The model item passed into the dictionary is of type 'ALFA.ViewModels.MeasuresC ommitteesV M', but this dictionary requires a model item of type 'System.Collections.Generi c.IEnumera ble`1[ALFA .ViewModel s.Measures Committees VM]'.
Can someone tell me how this is solved seeing that the following is true
1) you cannot put a "using" statement on cshtml
2) When using a "using" statement in the model, you cannot add Generic.IEnumerable
Any help will be tremendously appreciated
The model item passed into the dictionary is of type 'ALFA.ViewModels.MeasuresC
Can someone tell me how this is solved seeing that the following is true
1) you cannot put a "using" statement on cshtml
2) When using a "using" statement in the model, you cannot add Generic.IEnumerable
Any help will be tremendously appreciated
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER