Concept Flow - Why providers encapsulate business logic
Request received by Controller
Controller calls Provider method
Provider executes business logic
Provider returns result to Controller
Controller sends response to client
The flow shows how a controller delegates tasks to a provider that holds the business logic, keeping responsibilities clear and organized.