class AssuranceServiceImpl implements AssuranceService {

    @Override
    public Response findAssuranceById(UUID id, HttpHeaders headers) {
        Assurance assurance = assuranceRepository.findById(id);
        if (assurance == null) {
            return new Response<>(0, "No Conotent by this id", null);
        } else {
            return new Response<>(1, "Find Assurace Success", assurance);
        }
    }

}