C
C#15mo 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
Angius15mo ago
await _context.UserRoles.ToListAsync()...?
Raghad
RaghadOP15mo ago
yes, Thank you so much
Accord
Accord15mo 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?