Click here to Skip to main content
15,902,636 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Hi everyone, please i will like to know how an admin controller is been constructed with functionality that targets the clients modification.
I am thinking that when you create an admin role and the next thing is create an admin area and then copy the clients controller into the admin area so that the admin can alter any action that is client specific. E.g viewing the numbers of client sales, viewing his address, changing his password details, deleting a user, assigning a user to a role and so on.
Please, i need to know how to code an admin controller actions.
Maybe it means duplicating the controllers
Posted
Comments
Mostafa Asaduzzaman 24-May-15 3:59am    
you can create a basecontroller and inherit all your controllers from that base controller
[no name] 3-Jun-15 1:50am    
yes.. by creating base controller its very easy to implement the functionality that u want

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