public Shelter(int capacityArg, IPetStorage myPetStorage, IAdoptionStorage myAdoptionStorage) { _petStorage = myPetStorage; _adoptionStorage = myAdoptionStorage; //_numAdoptions = 0; _capacity = capacityArg; }
public Shelter(int capacityArg, IPetStorage myPetStorage) { _petStorage = myPetStorage; // Pass an IAdoptionStorage object into the constructor _adoptionList = new List <Adoption>(); _numAdoptions = 0; _capacity = capacityArg; }