Need help for controller
I am using Model View Controller(MVC) approach for developing an application. It has three users(admin, accountant and clerk) and about eight classes(like PolicyDetails,Policy, Claim, Customer etc).
Regarding the controller, I have no idea how to use it. One way is I can create three controllers as AdminController, AccountantController and ClerkController. Otherwise I can create controller for each class like PolicyController, CustomerController.
The problem is:There are users which interact with more than one classes. For example, accountant interacts with almost all classes. And There are some classes which are controlled by more than one users. For example Policy class is controlled by accountant as well as clerk.
I am new to the field of programming and stuck at the point.
Any help will be greatly appreciated. Thanks!