public bool Contains(Dog dog) { return(this.dogs.ContainsKey(dog.Id)); }
public void Vaccinate(string name, string ownerId) { Dog dog = this.GetDog(name, ownerId); dog.Vaccines++; }