In ASP.NET Identity we have following tables
Additionally I added the following column to the
Now I want to load a
list with following filters
- RoleName == "Approver"
- Subsidiary_ID == "04"
So for that purpose I'm trying to write query like below
List<AspNetUser> approverprofiles = db.AspNetUsers.Where(w => w.Subsidary_ID == "04").Where(w => w.Name == "Approver").ToList();
but then I'm getting this error
'AspNetUser' does not contain a definition for 'Name' and no extension