Control based on pages?

Hi, I would like to have some controls (business rules function) for my data but instead of applying controls based on controller, it's based on pages.

I.E
I have Page A and B, both of them share the same table Employee.

Under normal circumstances, function is based on controller ( [ControllerAction("Employee", "Insert", ActionPhase.Before))

Is there any way to trigger the function based on pages, something like this
( [PagesAction(............) ) ?

Or must I create another controller? If that's so, what's the best and proper way to do?

Thanks.
1 person has
this question
+1
Reply