Set specific controller to require role in .net core 8 new Authentication and authorization
I use the new identity of asp .net core 8:
Assign value between classes
I have 2 classes and declare as below:
I use the new identity of asp .net core 8:
I have 2 classes and declare as below: