Please some one show any possibility to allow anonymous visitor but not allow logged in user on action method in c# mvc5.
In my case i have to not allow only some specific user as per their role
ex User in Admin role Not allowed
but
User in Worker role is allowed