Опубликовано: 22 Июль 2026 на канале: MicroTech TN
140
2
How to retrieve and display all roles in asp.net core using the Identity.
We want to display
1. Role ID
2. Role Name
ID property of the IdentityRole object returns the role ID
Name property of the IdentityRole object returns the role Name