Ejemplo n.º 1
0
 public Pet DeletePet(int id)
 {
     if (id < 1)
     {
         throw new InvalidDataException("Pet not found");
     }
     return(_petShopRepo.DeletePet(id));
 }
Ejemplo n.º 2
0
 public Pet DeletePet(Pet pet)
 {
     return(_petShopRepository.DeletePet(pet));
 }
Ejemplo n.º 3
0
 public void DeletePet(int id)
 {
     _petShopRepository.DeletePet(id);
 }