Program design question: Please use entrustment to realize the regular repayment function of credit card users
Explanation of the application scenario of this question: the user has a credit card, and the credit card has a total limit; every month, there will be a credit card bill showing the total monthly consumption, which is less than the total limit of the credit card; the user has several savings cards, and can choose a certain savings card Card repayment; repayment refers to the transfer of the total monthly consumption of the credit card from the savings card to the credit card; if the balance of the savings card is insufficient, the repayment action will fail.
The requirements are as follows: ①Entrustment must be used; ②The trigger method of the event is the due repayment date of each month;
Clone source code address: zuoye: c# job warehouse