I'm struggling a bit with how to properly name the controllers in MVC. Should they be singular or plural? For example, lets say I have the tables Customer and Product in my database. Should the controllers be CustomerController and ProductController, or CustomersController and ProductsController?
Put a different way, does it make more since for the URL to be:
somedomain.com/Product
somedomain.com/Product/Edit/1
or
somedomain.com/Products
somedomain.com/Products/Edit/1


Reply With Quote
