Onion Architecture: Definition, Principles & Benefits
There is a Rider — someone who needs to travel from point A to point B, and a Driver — the car driver who will pick-up and drop-off the rider in their vehicle. Business Logic behaviour is declared as contracts with the use of interfaces in a Object-Oriented context.