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; } }
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; } }