public static bool CheckBrandShow(List <ProductPricing> _ProductPricing, ProductBrands brandEnum)
        {
            bool Result = false;
            Site site   = SiteCacher.GetCached();

            if (_ProductPricing != null && WBSiteSettings.AllowedBrand(site).Contains(((int)brandEnum).ToString()) && _ProductPricing.Where(pp => pp.Product.BrandID == (int)brandEnum).Count() > 0)
            {
                Result = true;
            }
            else
            {
                Result = false;
            }

            site = null;
            return(Result);
        }
        public static bool ShowMalware(List <ProductPricing> _ProductPricing)
        {
            bool Result = false;
            Site site   = SiteCacher.GetCached();

            foreach (string str in SSLCategories.Malware.Split(','))
            {
                if (_ProductPricing.Where(pp => pp.Product.InternalProductCode.ToLower().Equals(str.ToLower()) && WBSiteSettings.AllowedBrand(site).Contains(pp.Product.BrandID.ToString())).Count() > 0)
                {
                    Result = true;
                    break;
                }
            }
            site = null;
            return(Result);
        }