How to hide or show Button based on logged in user role in ASP.Net MVC

Last Reply 9 months ago By dharmendr

Posted 9 months ago

How can I limit a user in MVC?

for example if it is Administrator, all links like Add, Edit, Delete are allowed but if it is Registered User, those links are not displayed in cshtml..

I agree, here is the link: