public static void AddUpdateRecentlyViewedItems(RecentlyAddedItemInfo addUpdateRecentObj, AspxCommonInfo aspxCommonObj) { try { AspxItemMgntProvider.AddUpdateRecentlyViewedItems(addUpdateRecentObj, aspxCommonObj); } catch (Exception e) { throw e; } }
public void AddUpdateRecentlyViewedItems(RecentlyAddedItemInfo addUpdateRecentObj, AspxCommonInfo aspxCommonObj) { try { AspxItemMgntController.AddUpdateRecentlyViewedItems(addUpdateRecentObj, aspxCommonObj); } catch (Exception ex) { throw ex; } }
public static void AddUpdateRecentlyViewedItems(RecentlyAddedItemInfo addUpdateRecentObj, AspxCommonInfo aspxCommonObj) { try { List<KeyValuePair<string, object>> parameter = CommonParmBuilder.GetParamNoCID(aspxCommonObj); parameter.Add(new KeyValuePair<string, object>("@itemSKU", addUpdateRecentObj.SKU)); parameter.Add(new KeyValuePair<string, object>("@ViewFromIP", addUpdateRecentObj.IP)); parameter.Add(new KeyValuePair<string, object>("@ViewedFromCountry", addUpdateRecentObj.CountryName)); SQLHandler sqlH = new SQLHandler(); sqlH.ExecuteNonQuery("usp_Aspx_AddRecentlyViewedItems", parameter); } catch (Exception e) { throw e; } }