I'd like to get some advice about how to set up the controllers for a new site.
This site will have Libraries within locations, and each library can have a set of books.
The URL structure will look like this:
/Library-Name/Books/Book-Name
The books may also have categories or genres:
/Library-Name/Category/Books/Book-Name
My question is, do I create just a Library controller with all the logic in there of adding/removing libraries as well as adding and removing books?
Or do I create a libraries controller and a books controller? If so how do I ensure that books are 'tied' to a specific library?
Sorry for the simple question, but none of the main tutorials seem to have a nested route like this.
Thanks, Robbie