Here the Role table having three roles. where the last two record (Doctor and FrontDesk) is manually inserted in database.
But when i get roles list form using owin context rolemanger. i can't get records which i manually added.
swagger output:[ { "id": "b45b6ccb-e849-41d2-b190-fd45da8e2c4e", "name": "Admin", } ]
Try changing the discriminator of Doctor and FrontDesk to ApplicationRole
.