Exemplo n.º 1
0
        public List <GameJackpot> GetListJackpot(string start, string end)
        {
            try
            {
                end += " 23:59:59 PM";
                var jp = GameDAO.GetJackpot(start, end);
                jp.ForEach(i =>
                {
                    i.GameName = SimpleCache.Game.FirstOrDefault(x => x.Key == i.GameID).Value;
                });

                return(jp);
            }
            catch (Exception ex)
            {
                NLogManager.PublishException(ex);
            }

            return(null);
        }