Example structure of  atomic transactions, implementing transaction-per-request pattern using our task system.