I am using laravel 5.4 and there is one thing i cant understand compeletely. I have used make:controller (name) -resource to create a controller with index/show/create/edit/update/destroy. The app i am making is mostly CRUD operations. My question is :
I must have a separate controller for every entity of my database that needs CRUD operations? For example i have 2 entities : Items, Services. I must have 2 controllers or they can be on the same controller like :
public function store_item(Request $request) {
**Insert Query**
}
public function store_service(Request $request) {
**Insert Query**
}
What is the correct way to do this?