public static void RewardPointsSavePolling(RewardPointsPollCommonInfo rewardPointsInfo, AspxCommonInfo aspxCommonObj) { try { RewardPointsProvider.RewardPointsSavePolling(rewardPointsInfo, aspxCommonObj); } catch (Exception ex) { throw ex; } }
public static void RewardPointsSavePolling(RewardPointsPollCommonInfo rewardPointsInfo, AspxCommonInfo aspxCommonObj) { try { SQLHandler sqlH = new SQLHandler(); List <KeyValuePair <string, object> > parameter = new List <KeyValuePair <string, object> >(); parameter.Add(new KeyValuePair <string, object>("@RewardRuleID", rewardPointsInfo.RewardRuleID)); parameter.Add(new KeyValuePair <string, object>("@StoreID", aspxCommonObj.StoreID)); parameter.Add(new KeyValuePair <string, object>("@PortalID", aspxCommonObj.PortalID)); parameter.Add(new KeyValuePair <string, object>("@CultureName", aspxCommonObj.CultureName)); parameter.Add(new KeyValuePair <string, object>("@CustomerID", aspxCommonObj.CustomerID)); parameter.Add(new KeyValuePair <string, object>("@UserName", aspxCommonObj.UserName)); parameter.Add(new KeyValuePair <string, object>("@PollID", rewardPointsInfo.PollID)); parameter.Add(new KeyValuePair <string, object>("@UserModuleID", rewardPointsInfo.UserModuleID)); sqlH.ExecuteNonQuery("usp_Aspx_RewardPointsSavePolling", parameter); } catch (Exception ex) { throw ex; } }
public static void RewardPointsSavePolling(RewardPointsPollCommonInfo rewardPointsInfo, AspxCommonInfo aspxCommonObj) { try { SQLHandler sqlH = new SQLHandler(); List<KeyValuePair<string, object>> parameter = new List<KeyValuePair<string, object>>(); parameter.Add(new KeyValuePair<string, object>("@RewardRuleID", rewardPointsInfo.RewardRuleID)); parameter.Add(new KeyValuePair<string, object>("@StoreID", aspxCommonObj.StoreID)); parameter.Add(new KeyValuePair<string, object>("@PortalID", aspxCommonObj.PortalID)); parameter.Add(new KeyValuePair<string, object>("@CultureName", aspxCommonObj.CultureName)); parameter.Add(new KeyValuePair<string, object>("@CustomerID", aspxCommonObj.CustomerID)); parameter.Add(new KeyValuePair<string, object>("@UserName", aspxCommonObj.UserName)); parameter.Add(new KeyValuePair<string, object>("@PollID", rewardPointsInfo.PollID)); parameter.Add(new KeyValuePair<string, object>("@UserModuleID", rewardPointsInfo.UserModuleID)); sqlH.ExecuteNonQuery("usp_Aspx_RewardPointsSavePolling", parameter); } catch (Exception ex) { throw ex; } }