C#3mo ago

Different types of accounts - asp net

Hello, I'm trying to write a project for a spa salon management system (my diploma project). I've already created a controller containing endpoints for registering an administrator account and managing accounts in the system (login, authorization, etc.). Now, I would like to create something like an administrator panel that would allow, among other things, creating accounts for employees. Here is where my problem arises. I'm using Identity and I'm wondering whether, when creating employee accounts, I should also store them in the Identity Users table and assign them the role "Employee," or should I create a separate Employees table (Can Identity handle two different user tables?). I would appreciate help from experienced users because I'm not sure if I'm approaching this problem correctly. Is there perhaps another way to do this? Thank you in advance for your help.
1 Reply
Angius3mo ago
Roles is usually how it's handled, yes