Ensure that the repository method have transaction