views:

45

answers:

0

I have an abstract parent class called Quotation, with children MotorQuotation and PropertyQuotation. I am trying to use one controller (QuotationsController) to handle the Quotation hierarchy.

How would this be implemented in ASP.NET MVC?

Note: Would it be better to use composition?

Edit: For instance, one question that could come up is do you have to abandon the use of strongly typed views in order to use the one controller.