using of entityManager in conversationService