//----------------------------------------------------------------------------------------------
        //-----------------------------------Get Low Stock Items----------------------------------------
        public static List <LowStockItemsInfo> GetAllLowStockItems(int offset, int?limit, ItemSmallCommonInfo lowStockObj, AspxCommonInfo aspxCommonObj, int lowStock)
        {
            List <LowStockItemsInfo> ml;

            ml = AspxItemMgntProvider.GetAllLowStockItems(offset, limit, lowStockObj, aspxCommonObj, lowStock);
            return(ml);
        }
        /// <summary>
        /// To Bind grid with all UP Sell Items
        /// </summary>

        public static List <ItemsInfo> GetUpSellItemsByItemID(int offset, int limit, ItemDetailsCommonInfo UpSellCommonObj, AspxCommonInfo aspxCommonObj)
        {
            List <ItemsInfo> ml;

            ml = AspxItemMgntProvider.GetUpSellItemsByItemID(offset, limit, UpSellCommonObj, aspxCommonObj);
            return(ml);
        }
        //-------------------------------------------------------------------------------------------------
        //--------------------------Get Ordered Items List------------------------------------------------
        public static List <OrderItemsGroupByItemIDInfo> GetOrderedItemsList(int offset, System.Nullable <int> limit, string name, AspxCommonInfo aspxCommonObj)
        {
            List <OrderItemsGroupByItemIDInfo> ml;

            ml = AspxItemMgntProvider.GetOrderedItemsList(offset, limit, name, aspxCommonObj);
            return(ml);
        }
        public static string GetAssociatedCheckIDs(int ItemID, AspxCommonInfo aspxCommonObj)
        {
            string idsList;

            idsList = AspxItemMgntProvider.GetAssociatedCheckIDs(ItemID, aspxCommonObj);
            return(idsList);
        }
        /// <summary>
        /// Get associated Items for group products
        /// </summary>
        /// <param name="offset"></param>
        /// <param name="limit"></param>
        /// <param name="IDCommonObj"></param>
        /// <param name="aspxCommonObj"></param>
        /// <returns></returns>
        public static List <ItemsInfo> GetAssociatedItemsByItemID(int offset, int limit, ItemDetailsCommonInfo IDCommonObj, int categoryID, AspxCommonInfo aspxCommonObj)
        {
            List <ItemsInfo> itemsList;

            itemsList = AspxItemMgntProvider.GetAssociatedItemsByItemID(offset, limit, IDCommonObj, categoryID, aspxCommonObj);
            return(itemsList);
        }
        /// <summary>
        /// To Bind grid with all Items
        /// </summary>
        public static List <ItemsInfo> GetAllItems(int offset, int limit, GetItemListInfo getItemObj, AspxCommonInfo aspxCommonObj)
        {
            List <ItemsInfo> ml;

            ml = AspxItemMgntProvider.GetAllItems(offset, limit, getItemObj, aspxCommonObj);
            return(ml);
        }
        public static ItemSEOInfo GetSEOSettingsBySKU(string itemSKU, AspxCommonInfo aspxCommonObj)
        {
            ItemSEOInfo objItemSEO = new ItemSEOInfo();

            objItemSEO = AspxItemMgntProvider.GetSEOSettingsBySKU(itemSKU, aspxCommonObj);
            return(objItemSEO);
        }
        public static string GetCrossSellCheckIDs(int ItemID, AspxCommonInfo aspxCommonObj)
        {
            string ml;

            ml = AspxItemMgntProvider.GetCrossSellCheckIDs(ItemID, aspxCommonObj);
            return(ml);
        }
        public static List <CategoryInfo> GetCategoryList(string prefix, bool isActive, AspxCommonInfo aspxCommonObj, int itemId, bool serviceBit)
        {
            List <CategoryInfo> catList;

            catList = AspxItemMgntProvider.GetCategoryList(prefix, isActive, aspxCommonObj, itemId, serviceBit);
            return(catList);
        }
        //--------------------------GetMostViewedItems---------------------------
        public static List <MostViewedItemsInfo> GetAllMostViewedItems(int offset, int?limit, string name, AspxCommonInfo aspxCommonObj)
        {
            List <MostViewedItemsInfo> ml;

            ml = AspxItemMgntProvider.GetAllMostViewedItems(offset, limit, name, aspxCommonObj);
            return(ml);
        }
        public static List <TaxRulesInfo> GetAllTaxRules(int storeID, int portalID, bool isActive)
        {
            List <TaxRulesInfo> lstTaxManageRule;

            lstTaxManageRule = AspxItemMgntProvider.GetAllTaxRules(storeID, portalID, isActive);
            return(lstTaxManageRule);
        }
        public static List <AttributeFormInfo> GetItemFormAttributesByItemSKUOnly(string itemSKU, AspxCommonInfo aspxCommonObj)
        {
            List <AttributeFormInfo> formAttributeList;

            formAttributeList = AspxItemMgntProvider.GetItemFormAttributesByItemSKUOnly(itemSKU, aspxCommonObj);
            return(formAttributeList);
        }
        public static List <AttributeFormInfo> GetItemFormAttributes(int attributeSetID, int itemTypeID, AspxCommonInfo aspxCommonObj)
        {
            List <AttributeFormInfo> formAttributeList;

            formAttributeList = AspxItemMgntProvider.GetItemFormAttributes(attributeSetID, itemTypeID, aspxCommonObj);
            return(formAttributeList);
        }
        //----------------------------------------------------------------------------------------------
        //-----------------------------------Get DownLoadable Items----------------------------------------
        public static List <DownLoadableItemGetInfo> GetDownLoadableItemsList(int offset, System.Nullable <int> limit, GetDownloadableItemInfo downloadableObj, AspxCommonInfo aspxCommonObj)
        {
            List <DownLoadableItemGetInfo> ml;

            ml = AspxItemMgntProvider.GetDownLoadableItemsList(offset, limit, downloadableObj, aspxCommonObj);
            return(ml);
        }
 //------------------------ delete Item Cost Variants management------------------------
 public static void DeleteSingleItemCostVariant(string itemCostVariantID, int itemId, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxItemMgntProvider.DeleteSingleItemCostVariant(itemCostVariantID, itemId, aspxCommonObj);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static void DeleteItemImageByItemID(int itemId)
 {
     try
     {
         AspxItemMgntProvider.DeleteItemImageByItemID(itemId);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 /// <summary>
 /// make the Item active deactive
 /// </summary>
 public static void UpdateItemIsActive(int itemId, AspxCommonInfo aspxCommonObj, bool isActive)
 {
     try
     {
         AspxItemMgntProvider.UpdateItemIsActive(itemId, aspxCommonObj, isActive);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 /// <summary>
 /// To Delete Multiple Item IDs
 /// </summary>
 public static void DeleteMultipleItems(string itemIds, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxItemMgntProvider.DeleteMultipleItems(itemIds, aspxCommonObj);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static void DeleteCostVariantForItem(int itemId, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxItemMgntProvider.DeleteCostVariantForItem(itemId, aspxCommonObj);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static void ItemTabSettingSave(string SettingKeys, string SettingValues, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxItemMgntProvider.ItemTabSettingSave(SettingKeys, SettingValues, aspxCommonObj);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public static void AddUpdateRecentlyViewedItems(RecentlyAddedItemInfo addUpdateRecentObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxItemMgntProvider.AddUpdateRecentlyViewedItems(addUpdateRecentObj, aspxCommonObj);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static void SaveAndUpdateItemCostVariantCombination(CostVariantsCombination itemCostVariants, AspxCommonInfo aspxCommonObj, string cvCombinations)
 {
     try
     {
         AspxItemMgntProvider.SaveAndUpdateItemCostVariantCombination(itemCostVariants, aspxCommonObj, cvCombinations);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static List <ItemsInfo.ItemSaveBasicInfo> GetItemVideoContents(int ItemID, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <ItemsInfo.ItemSaveBasicInfo> lstItemVideo = AspxItemMgntProvider.GetItemVideoContents(ItemID, aspxCommonObj);
         return(lstItemVideo);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static List <DownLoadableItemInfo> GetDownloadableItem(int itemId, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <DownLoadableItemInfo> lstDownItem = AspxItemMgntProvider.GetDownloadableItem(itemId, aspxCommonObj);
         return(lstDownItem);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static List <UserInRoleInfo> BindRoles(bool isAll, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <UserInRoleInfo> lstUserInRole = AspxItemMgntProvider.BindRoles(isAll, aspxCommonObj);
         return(lstUserInRole);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public static List <CostVariantValuesInfo> GetCostVariantValues(int costVariantID, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <CostVariantValuesInfo> lstCostVarValue = AspxItemMgntProvider.GetCostVariantValues(costVariantID, aspxCommonObj);
         return(lstCostVarValue);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 // ---For Gift Items List In Front End---
 public static List <LatestItemsInfo> GetAllGiftCards(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <LatestItemsInfo> lstGiftItems = AspxItemMgntProvider.GetAllGiftCards(aspxCommonObj);
         return(lstGiftItems);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public static List <TaxItemClassInfo> GetAllTaxItemClass(AspxCommonInfo aspxCommonObj, bool isActive)
 {
     try
     {
         List <TaxItemClassInfo> lstTaxItemClass = AspxItemMgntProvider.GetAllTaxItemClass(aspxCommonObj, isActive);
         return(lstTaxItemClass);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static List <VariantCombination> GetCostVariantsOfItem(int itemId, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <VariantCombination> lstVarComb = AspxItemMgntProvider.GetCostVariantsOfItem(itemId, aspxCommonObj);
         return(lstVarComb);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 //-- For latest item with Animation
 public static List <LatestItemsInfoAnimation> GetLatestItemsByCountAnimation(AspxCommonInfo aspxCommonObj, int count)
 {
     try
     {
         List <LatestItemsInfoAnimation> LatestItemsAni = AspxItemMgntProvider.GetLatestItemsByCountAnimation(aspxCommonObj, count);
         return(LatestItemsAni);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }