Ejemplo n.º 1
0
        /// <summary>
        /// 获取ghost未结算的下注信息
        /// </summary>
        /// <param name="matchResult"></param>
        /// <returns></returns>
        public static List<GhostBet> GetGhostBetsByMatchId(MatchResult matchResult)
        {
            List<GhostBet> ghostBets = null;
            try
            {
                // 创建下注数据访问对象
                BetService betService = new BetService();
                ghostBets = betService.GetGhostBetsByMatchId(matchResult.get_HomeName(), matchResult.get_AwayName(), matchResult.get_MatchDate());
            }
            catch (Exception e)
            {

                throw;
            }

            return ghostBets;
        }