stanislavtrifonov88 / rentalcar

Rental Car Training Project
0 stars 0 forks source link

transactions for methods working with >1 entity #14

Closed stanislavtrifonov88 closed 4 years ago

stanislavtrifonov88 commented 4 years ago

-Added separate transaction for for creating a contract and returning a car -Manually tested by including a "throw new error ..." after saving the first entity but before saving the second. Neither got updated.