C
C#8mo 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
Angius8mo ago
await _context.UserRoles.ToListAsync()...?
Raghad
Raghad8mo ago
yes, Thank you so much
Accord
Accord8mo 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.