static void LookupPetName(InventoryDAL invDal, int id) { string petName = invDal.LookupPetName(id); Console.WriteLine("pet Name of {0} is {1}", id, petName); }