Beispiel #1
0
 private void ClearShoppingCartModuleCache()
 {
     try
     {
         var cartWidgetSource = new CartWidgetSource();
         cartWidgetSource.ExpireShoppingCartCache(DistributorID, Locale);
     }
     catch (Exception ex)
     {
         LoggerHelper.Error(
             string.Format("Error occurred ClearMyHL3ShoppingCartCache. Id is {0}-{1}.\r\n{2}", DistributorID, Locale,
                           ex.Message));
     }
 }
 private void ClearShoppingCartModuleCache()
 {
     try
     {
         if (SessionInfo != null)
         {
             SessionInfo.IsFirstTimeSpainPopup = false;
         }
         var cartWidgetSource = new CartWidgetSource();
         cartWidgetSource.ExpireShoppingCartCache(DistributorID, Locale);
     }
     catch (Exception ex)
     {
         LoggerHelper.Error(
             string.Format("Error occurred ClearMyHL3ShoppingCartCache. Id is {0}-{1}.\r\n{2}", DistributorID, Locale,
                           ex.Message));
     }
 }