Esempio n. 1
0
 public List <ItemsCompareInfo> GetItemCompareList(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamNoCID(aspxCommonObj);
         OracleHandler           sqlH           = new OracleHandler();
         List <ItemsCompareInfo> lstItemCompare = sqlH.ExecuteAsList <ItemsCompareInfo>("usp_Aspx_GetCompareItemsList", parameter);
         return(lstItemCompare);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Esempio n. 2
0
 public int CountWishItems(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamNoCID(aspxCommonObj);
         SQLHandler sqlH      = new SQLHandler();
         int        countWish = sqlH.ExecuteAsScalar <int>("usp_Aspx_GetWishItemsCount", parameter);
         return(countWish);
     }
     catch (Exception e)
     {
         throw e;
     }
 }