public void Execute(IElevatorOperation command, int floor) { command?.Operate(floor); }
public void Operate(IElevatorOperation elevatorOperation, int floor) { elevatorOperation?.Operate(floor); }