Admin guard no responding to any roles

Asjad Butt 71 Reputation points
2022-11-04T07:53:28.247+00:00

Hi, Im trying to make a admin guard the funtionallity i believe is correct the guard i activated but the problem is the guard is activated on ever one regardless of the role let say the DEAN is the role who hasacces to a specific router link it doesnt let pass the DEAN as well
257122-image.png

257095-image.png

257172-image.png

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.