Concept Flow - ViewSets and routers
Client sends HTTP request
Router matches URL to ViewSet
ViewSet selects action based on HTTP method
ViewSet calls appropriate method (list, create, retrieve, update, destroy)
ViewSet returns HTTP response
Client receives response
The router receives the request URL and directs it to the ViewSet, which picks the right method based on HTTP method and returns the response.