/// <summary>
        /// Creates a DisplayGame object based on the information stored
        /// in the database.
        /// </summary>
        /// <param name="id">Id of the game to retrieve</param>
        /// <returns></returns>
        public static DisplayGame CreateDisplayGameObject(int id)
        {
            var dbGameView = DbAccess.GetDbGameView(id);

            DisplayGame result = null;

            if (dbGameView != null)
            {
                result = new DisplayGame(dbGameView);
            }

            return(result);
        }
        public static Tuple <string, string> GetThumbByGameId(int id, bool forceUpdate)
        {
            DbGame game;

            if (forceUpdate)
            {
                game = DbAccess.GetDbGameView(id);
                return(game == null ? null : RefreshThumb(game));
            }

            var existingThumb = DbAccess.GetThumb(id);

            if (existingThumb != null)
            {
                return(new Tuple <string, string>(existingThumb.ImageUrl, existingThumb.ContentType));
            }

            game = DbAccess.GetDbGameView(id);

            return(game == null ? null : RefreshThumb(game));
        }