DenaliHardtail
DenaliHardtail

Reputation: 28296

Should I have multiple views for a controller?

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

Answers (1)

fnatt
fnatt

Reputation: 68

There is no need to make different controllers for each submission. just handle the POST methods in same controller.

Upvotes: 3

Related Questions