while creating list for both tables user and user address I m getting the below error for both the tables
Code Description Project File Line Suppression State Error CS0029 Cannot implicitly convert type 'System.Collections.Generic.List' to 'System.Collections.Generic.List'
controller:
- public ActionResult Dashboard()
- {
- nsrouteEntities obj = new nsrouteEntities();
- List
userlist = obj.Users.ToList(); - List
useraddresslist = obj.UserAddresses.ToList(); - getting error in this bold text
- return View();
- }
can anyone tell me on how to display data from multiple tables in a single table of a view in mvc5

Sachin SinghRank #66 · 26.2K reputationPosted Sep 28, 2020, 11:28 PM EDT
- first in the DataAccess folder (where you have generated your entity)
- second Perhaps in the root folder directly
Chcek the namespace of user in List