i have table name of Role
i have two columns name RoleID and RoleName,
and it contains data like below,
1. Admin
2. User
3. Employee
4. Etc.
now in MVC view i have bind all the data into table view and allow EDIT and DELETE functionality,
but i dont want to allow user to delete or edit first two data(1. Admin, 2. User) from the database.
do anyone have any idea about this..
thanks in advance.

Dharmraj ThakurRank #577 · 4.2K reputationPosted Jan 15, 2018, 10:21 PM EST
I assuming that you have a mapping table of UserPermissions