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 ThakurPosted Jan 16, 2018, 3:21 AM
I assuming that you have a mapping table of UserPermissions