Beispiel #1
0
 public string Chip(string name, int procedureTime)
 {
     if (this.Hotel.Animals.ContainsKey(name))
     {
         Chiping.DoService(this.Hotel.Animals[name], procedureTime);
         return($"{name} had chip procedure");
     }
     else
     {
         throw new ArgumentException($"ArgumentException: Animal {name} does not exist");
     }
 }