//Contstructor creates reference to address repository public CustomerRepository() { addressRepository = new AddressRepository(); }
//When constructor fires a reference to address repository is established public VendorRepository() { addressRepository = new AddressRepository(); }