예제 #1
0
        private bool AddPet(string petName, string clinicName)
        {
            Pet    pet    = petsDatabase.First(p => p.Name == petName);
            Clinic clinic = clinicsDatabase.First(c => c.Name == clinicName);

            return(clinic.AdmitPet(pet));
        }