Server Side business rules validation
The context:
I need to confirm a booking:
So the user just pressed a button on the browser to confirm the booking
Then I just need to update the booking status.
But I'd like to perform some validation before.
is this the right way to achieve that?
1 Reply
open a transaction for that
and you probably want some versioning to avoid race conditions