Esempio n. 1
0
        public static bool DeletePromotionGamePrize(GamePrizeInfo model)
        {
            if (model == null)
            {
                throw new ArgumentNullException("model参数不能为null");
            }
            bool flag = new GamePrizeDao().Delete(model);

            if (flag)
            {
            }
            return(flag);
        }
Esempio n. 2
0
        public static bool CreateWinningPool(GameWinningPoolInfo model)
        {
            if (model == null)
            {
                throw new ArgumentNullException("model参数不能为null");
            }
            bool flag = new GamePrizeDao().CreateWinningPool(model);

            if (flag)
            {
            }
            return(flag);
        }
Esempio n. 3
0
        public static IList <GamePrizeInfo> GetGamePrizeListsByGameId(int gameId)
        {
            IList <GamePrizeInfo> result;

            if (gameId <= 0)
            {
                result = null;
            }
            else
            {
                result = new GamePrizeDao().GetGamePrizeListsByGameId(gameId);
            }
            return(result);
        }