Reputation: 28296
I'm building a new application to process submissions. The user will be required to enter different information based on the submission type. Sections of data shared by multiple submission types are placed in partial views.
Should I have one controller that handles all submission types, approximately 6, and displays the requested view. Or should I have a different controller for each submission type?
Upvotes: 0
Views: 275
Reputation: 68
There is no need to make different controllers for each submission. just handle the POST methods in same controller.
Upvotes: 3