class InterviewResponseServiceImpl implements InterviewResponseService {

    @Override
    public ServiceResult<Void> deleteResponse(long applicationId) {
        return findAssignmentByApplicationId(applicationId).andOnSuccessReturnVoid(interviewAssignment ->
            interviewAssignmentWorkflowHandler.withdrawResponse(interviewAssignment)
        );
    }

}