C#C
C#3y ago
_vegabyte_

❔ Need some advise regarding HTTP Request

Hello, I have a few operations here and would appreciate some guidance on how to carry them out.

I therefore have a payer table. It has a column for the remaining balance.
Additionally, I have a contribution table where the funds from payers go.


I must update the Payer's remaining Balance if the payer adds a contribution (HTTP POST).

Should I have to make two APIs?
  1. Making a Contribution
  2. Updating the balance that remains
Or a single API that updates the remaining balance and create contributions?
Was this page helpful?