public void SaveAndUpdateAdvanceSearchSetting(AspxCommonInfo aspxCommonObj, AdvanceSearchSettingKeyPairInfo advanceObj)
 {
     try
     {
         AdvanceSearchController asc = new AdvanceSearchController();
         asc.SaveAndUpdateAdvanceSearchSetting(aspxCommonObj, advanceObj);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Esempio n. 2
0
 public void SaveAndUpdateAdvanceSearchSetting(AspxCommonInfo aspxCommonObj, AdvanceSearchSettingKeyPairInfo advanceObj)
 {
     try
     {
         AdvanceSearchProvider asp = new AdvanceSearchProvider();
         asp.SaveAndUpdateAdvanceSearchSetting(aspxCommonObj, advanceObj);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public void SaveAndUpdateAdvanceSearchSetting(AspxCommonInfo aspxCommonObj, AdvanceSearchSettingKeyPairInfo advanceObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj);
         parameterCollection.Add(new KeyValuePair <string, object>("SettingKeys", advanceObj.SettingKey));
         parameterCollection.Add(new KeyValuePair <string, object>("SettingValues", advanceObj.SettingValue));
         OracleHandler sqlhandle = new OracleHandler();
         sqlhandle.ExecuteNonQuery("usp_Aspx_AdvanceSearchSettingsUpdate", parameterCollection);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public void SaveAndUpdateAdvanceSearchSetting(AspxCommonInfo aspxCommonObj, AdvanceSearchSettingKeyPairInfo advanceObj)
 {
     try
     {
         List<KeyValuePair<string, object>> parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj);
         parameterCollection.Add(new KeyValuePair<string, object>("@SettingKeys", advanceObj.SettingKey));
         parameterCollection.Add(new KeyValuePair<string, object>("@SettingValues", advanceObj.SettingValue));
         SQLHandler sqlhandle = new SQLHandler();
         sqlhandle.ExecuteNonQuery("[dbo].[usp_Aspx_AdvanceSearchSettingsUpdate]", parameterCollection);
     }
     catch (Exception e)
     {
         throw e;
     }
 }