I've found this answer but it doesn't seem to fit in my ASP Net Core project.
Things I am trying to understand:
- How can I add a custom role. I've even looked directly in my MySQL database (table
aspnetroles), but I don't know what to use asIdandConcurrencyStamp. - Where do I put the code to seed the database with these new roles: in
Startup? inRegisterunderAccountController? - How do I tie this new role to a user? I've even looked through the tables and I don't know how to assign the data (there is no
user2roleoraspnetusers.role_id).