public PetType Add(string type) { try { return(_ptrep.Add(type)); } catch (Exception e) { throw new ServiceException("Error adding pet type: " + e.Message, e); } }