public static ItemsCompareInfo GetItemDetailsForCompare(int ItemID, AspxCommonInfo aspxCommonObj, string costVariantValueIDs)
 {
     try
     {
         ItemsCompareInfo objItemDetails = AspxCompareItemProvider.GetItemDetailsForCompare(ItemID, aspxCommonObj,
                                                                                            costVariantValueIDs);
         return(objItemDetails);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public static ItemsCompareInfo GetItemDetailsForCompare(int ItemID, AspxCommonInfo aspxCommonObj, string costVariantValueIDs)
 {
     try
     {
         List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSPUC(aspxCommonObj);
         parameter.Add(new KeyValuePair <string, object>("@ItemID", ItemID));
         parameter.Add(new KeyValuePair <string, object>("@CostVariantValueIDs", costVariantValueIDs));
         SQLHandler       sqlH           = new SQLHandler();
         ItemsCompareInfo objItemDetails = sqlH.ExecuteAsObject <ItemsCompareInfo>("[usp_Aspx_GetItemDetailsForCompare]", parameter);
         return(objItemDetails);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }