Suppose,i have a property named "UserId" in my model named "User".How can i set the "UserId" property as admin role and to allow access a controller or action only by the user who's "UserId" is like 1001??
Please help me explaining detail...
How to restrict users from accessing actions in MVC
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Gowtham KRank #65 · 26.5K reputationPosted Jun 6, 2015, 4:52 AM EDT