Good day everyone.
I'm trying to create an API for Project management.
Every project has a set of tasks so my models are Project and Task.
I've created a ProjectController class that allows for CRUD operations for a project object. (Create and Update operations overlook the tasks attribute of the project)
Now here's what I'm not sure about: should I also have a seperate TaskController class to allow for CRUD task operations too? or should I put them along with the project controller.
Thank you.