When adding a new user i want to add a record to another table when the user belongs to a specific Role.
where can i add this? where is the logic of the register button?
Thank you :)

CodePudding user response:
found it, registering the user is in file register.cshtml.cs in function OnPostAsync
CodePudding user response:
Basically you can write your code in .cs file with the ActionMethod which is specify for the Register button.
If you will share your code how you are value moving from frontend to backend the i can help more with code.
Please share the code block.
