Click here to Skip to main content
15,789,698 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to show the users and roles for the admin panel in a tabular form.

User    Roles     Action
A       Admin     Edit|Update|Delete
B       Person    Edit|Update|Delete 
So on.....

But the default tables created by AccountController does not have any Roles class. So how can i bind it to the class which have both user and roles in it.

This link shows how to do it but i cannot have my class to be edited all time when i added a new role.

Do i need to make my own class for this and map it to the Table which contains roles?

Any suggestions please.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900