public async Task <SingleTraderCreditProviderDepositResponse> DepositAsync(SingleTraderCreditProviderDepositRequest request, CancellationToken cancellation) { var response = new SingleTraderCreditProviderDepositResponse(); var sr = await ApplyAsync(new SingleTraderCreditProviderApplyRequest { UserName = request.UserName, Amount = request.Amount, Info = request.Info, AuditCode = "CRD_DPST" }, cancellation); response.Copy(sr); return(response); }
public SingleTraderCreditProviderDepositResponse Deposit(SingleTraderCreditProviderDepositRequest request) { var response = new SingleTraderCreditProviderDepositResponse(); var sr = Apply(new SingleTraderCreditProviderApplyRequest { UserName = request.UserName, Amount = request.Amount, Info = request.Info, AuditCode = "CRD_DPST" }); response.Copy(sr); return(response); }