public static bool ExcludeData(string shopID, string productID) { if (LcdHelper.IsCellShop(shopID)) { if (string.IsNullOrEmpty(productID)) { return(true); } string prodShopID = LcdHelper.GetShopIDByProductID(productID, shopID); if (LcdHelper.IsCfShop(prodShopID)) { return(true); } } return(false); }