public CashoutModel Cashout(int cardType, int prize)
        {
            try
            {
                List <CardConfig> data = TransactionDAO.GetCardConfigs().ToList();
                var d = data.FirstOrDefault(x => x.Type == cardType && x.Prize == prize);
                if (d == null)
                {
                    return new CashoutModel {
                               Status = -100
                    }
                }
                ;

                return(TransactionDAO.Cashout(AccountSession.AccountID, AccountSession.AccountName, cardType, prize, prize * (d.CashoutRate - d.Promotion) / 100));
            }
            catch (Exception ex)
            {
                NLogManager.PublishException(ex);
            }

            return(new CashoutModel
            {
                Status = -99
            });
        }