I to be trying to operation this password in asp.net MVCController:public ActionResult TeleList()List lstTeleInfo = new List();oyetriviadbEntities db = brand-new oyetriviadbEntities();lstTeleInfo = db.TeleInfoes.ToList();return View(lstTeleInfo);.csthml(Razor view Code)


You are watching: The model item passed into the dictionary is of type

Html.ActionLink("Delete", "Delete", brand-new id=item.TeleGUID )}

Running above code in MVC i am getting the error as belowThe design item passed into the thesaurus is of kind "System.Collections.Generic.List`1", however this dictionary requires a model item of type "System.Collections.Generic.IEnumerable`1 Let me recognize what is the issue and also how to settle it?


*
end up being a Patron
Ezoicreport this ad

Subscribe Now

Subscribe to our weekly newsletter & Keep gaining latest article/questions in your inbox weekly


See more: How To Install Windows Server For Dummies Cheat Sheet, Windows Server 2019 & Powershell All

Minify HTML onlineMinify CSS onlineMinify JS (Javascript) onlineOnline HTML formatter (Beautifier)Online CSS BeautifierOnline JS (Javascript) Formatter