public List <FavouriteSKU> LoadFromService(string distributorID, string locale)
        {
            List <FavouriteSKU> SKUs = new List <FavouriteSKU>();
            GetDistributorFavouriteSKURequest request = new GetDistributorFavouriteSKURequest("01")
            {
                DistributorID = distributorID,
                Locale        = locale
            };

            if (string.IsNullOrEmpty(request.DistributorID))
            {
                return(SKUs);
            }
            else
            {
                try
                {
                    var proxy    = ServiceClientProvider.GetDistributorServiceProxyChina();
                    var response = proxy.GetDistributorFavouriteSKUs(request) as GetDistributorFavouriteSKUResponse_V01;
                    if (response != null && response.Status == ServiceResponseStatusType.Success)
                    {
                        SKUs = response.FavouriteSKUs;
                    }
                }
                catch (Exception ex)
                {
                    ExceptionPolicy.HandleException(ex, ProviderPolicies.SYSTEM_EXCEPTION);
                }
            }

            return(SKUs);
        }
        public bool SetFavouriteSKU(string distributorID, int productID, string productSKU, string locale, int DEL = 0)
        {
            SetDistributorFavouriteRequest request = new SetDistributorFavouriteRequestV01
            {
                DistributorId = distributorID,
                ProductID     = productID,
                ProductSKU    = productSKU,
                Locale        = locale,
                Delete        = (DEL > 0 ? true : false)
            };

            if (string.IsNullOrEmpty(request.DistributorId) || string.IsNullOrEmpty(request.ProductSKU) || string.IsNullOrEmpty(request.Locale))
            {
                return(false);
            }
            else
            {
                try
                {
                    var proxy    = ServiceClientProvider.GetDistributorServiceProxyChina();
                    var response = proxy.SetDistributorFavouriteSKU(request) as SetDistributorFavouriteResponse;
                    if (response != null && response.Status == ServiceResponseStatusType.Success)
                    {
                        clearFavouriteSKUFromCache(distributorID);
                        return(true);
                    }

                    return(true);
                }
                catch (Exception ex)
                {
                    ExceptionPolicy.HandleException(ex, ProviderPolicies.SYSTEM_EXCEPTION);
                }
            }
            return(false);
        }