Esempio n. 1
0
 public bool Contains(Dog dog)
 {
     return(this.dogs.ContainsKey(dog.Id));
 }
Esempio n. 2
0
        public void Vaccinate(string name, string ownerId)
        {
            Dog dog = this.GetDog(name, ownerId);

            dog.Vaccines++;
        }