private void SaveBalance(int UserId, decimal Amount) { MemberInfo user = Users.GetUser(UserId); decimal balance = user.Balance + Amount; BalanceDetailInfo balanceDetailInfo = new BalanceDetailInfo(); balanceDetailInfo.UserId = UserId; balanceDetailInfo.UserName = user.UserName; balanceDetailInfo.TradeDate = DateTime.Now; balanceDetailInfo.TradeType = TradeTypes.Commission; balanceDetailInfo.Income = Amount; balanceDetailInfo.Balance = balance; MemberProcessor.AddSplittinDrawBalance(balanceDetailInfo); }