I'm new to C# and feel like I am losing my mind. I cannot get pass this compilation error. The attribute [Authorize] works fine in my controller. However, when I try to add a Policy restriction. The compiler throws an error. This is the same error for Users and Roles too. The picture below shows the issue and my using statements. Thanks for any insights you may have!!
This is a sample of code from this project:
https://github.com/cornflourblue/dotnet-5-jwt-authentication-api.git
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)