C
C#2y ago
Raghad

❔ How to list RoleId and UserId from the AspNetUserRoles of identity in asp net core mvc

I am trying to list all that is in AspNetUserRoles in a table in the views, Can you please help with that
3 Replies
Angius
Angius2y ago
await _context.UserRoles.ToListAsync()...?
Raghad
RaghadOP2y ago
yes, Thank you so much
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?