public PetType ReadPetTypeByID(int id) { if (id < 0) { throw new Exception("Please, enter a valid value for the ID"); } return(_petTypeRepo.ReadPetTypeByID(id)); }