public static RecentlyViewedItem GetRecentlyViewedItem(LoginUser loginUser, int userID)
        {
            RecentlyViewedItems recentlyViewedItems = new RecentlyViewedItems(loginUser);

            recentlyViewedItems.LoadByUserID(userID);
            if (recentlyViewedItems.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(recentlyViewedItems[0]);
            }
        }
 public RecentlyViewedItem(DataRow row, RecentlyViewedItems recentlyViewedItems) : base(row, recentlyViewedItems)
 {
     _recentlyViewedItems = recentlyViewedItems;
 }