Interface
Port: read-only access to courses.
The domain declares what it needs from outside (this interface) but knows nothing about how courses are stored. Driven adapters (in-memory, JSON file, Postgres, ...) implement this contract.
Port: read-only access to courses.
The domain declares what it needs from outside (this interface) but knows nothing about how courses are stored. Driven adapters (in-memory, JSON file, Postgres, ...) implement this contract.