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