public override void Insert(WalletStatement statement) { var merchantWalletStatement = new MerchantWalletStatement { Action = statement.Action, Amount = statement.Amount, Balance = statement.Balance, Remark = statement.Remark, Timestamp = statement.Timestamp, WalletId = statement.WalletId }; new MerchantWalletStatementDAC().Insert(merchantWalletStatement); }
public override void Insert(WalletStatement statement) { var userWalletStatement = new UserWalletStatement { Action = statement.Action, Amount = statement.Amount, Balance = statement.Balance, FrozenAmount = statement.FrozenAmount, FrozenBalance = statement.FrozenBalance, Remark = statement.Remark, Timestamp = statement.Timestamp, WalletId = statement.WalletId }; new UserWalletStatementDAC().Insert(userWalletStatement); }
public abstract void Insert(WalletStatement statement);