public PetType Delete(int id)
 {
     try
     {
         return(_ptrep.Delete(id));
     }
     catch (Exception e)
     {
         throw new ServiceException("Error deleting pet type: " + e.Message, e);
     }
 }
Ejemplo n.º 2
0
 public bool Delete(int Id)
 {
     return(_petTypeRepository.Delete(Id));
 }
Ejemplo n.º 3
0
 public PetType DeletePetType(int id)
 {
     return(_petTypeRepo.Delete(id));
 }