Opional로 쓰지 말고 가져와서 즉시 꺼내 주기
Poost post = postRepository.findById(id) .orElseThrow(()-> new IllegalArgumentException("존재하지 않는 글입니다."));