Request → Response Flow

How a console action travels through the layers and comes back as a ResultOperation.
Pick a scenario, then Play or step through.

CLI / Utils
menus · askString · askInt
print result
Controller
parse choice · resolve IDs
call Service
Service
business rules
ResultOperation
Repository + Model
ArrayLists (tables)
Person · Car · Dog · …
Persistence
JsonStore · Snapshot
data/repo.json
Response
ResultOperation
printed to console
Choose a scenario above to begin

Coloured boxes = used by this scenario  ·  Grey boxes = not used
Blue path = request  ·  Green path = response  ·  Amber = persistence