Im trying to refactor an asp.net mvc that is one big mess of code... it really is astonishing.
I wouldnt know where to start to fix this monster...
Anyways. Please Give me advice... Anything.
There are different roles.. and each different role sees a somewhat different page layout. these roles are: medic, patient, company, admin
They have different menus and options in the menu and different sidebar stuff, etc. but many views are shared.. the app was originally made in mvc 1 so no areas are used..(I wouldnt know how to use them anyway but if you think it could be a good idea Id appreciate some insight)
I dont know if creating different Master Pages for each role is a good idea cause then I would need to duplicate common Views just because they should inherit from a different master Page...
to give you an idea of a common View is the Company Details page.. each Company should see their own details whereas an Admin should be able to see every companies details page....
to give you an idea of a specific view just for an admin they should see a GlobalCompanies View where they get some statistics regarding all companies... and they get a List of the Companies and they can then click on one and go to the CompanyDetails page
Anyone out there with the skills and experience to give me some advice or should I just quit??..