help with c#
Budget: $10 – $30 USD
Suppose we've got api ControllerBase.
Five requests have been made from user number one and Five requests have been made from user number two and Five requests have been made from user number three
All at the same time
We have a method that checks the balance of this user before Insert this request in the database
I want the method first user to check the balance of the request number one, and the rest of the requests for this user are under waiting
And the second user checks the balance of the request number one and the rest of the requests for this user are under waiting
And the third user checks the balance for request number one and the rest of the requests for this user are under waiting ............and
I want the best way to do this
Five requests have been made from user number one and Five requests have been made from user number two and Five requests have been made from user number three
All at the same time
We have a method that checks the balance of this user before Insert this request in the database
I want the method first user to check the balance of the request number one, and the rest of the requests for this user are under waiting
And the second user checks the balance of the request number one and the rest of the requests for this user are under waiting
And the third user checks the balance for request number one and the rest of the requests for this user are under waiting ............and
I want the best way to do this