As a boilerplate, it will be much better if you add transaction to guarantee ACID in repository layer