Exemple #1
0
        private void DeleteTopLevelDomain()
        {
            try
            {
                int result = StorehouseHelper.DeleteProduct(ecPanelRequest.ProductId);

                if (result < 0)
                {
                    ShowResultMessage(result);
                    return;
                }
            }
            catch (Exception ex)
            {
                ShowErrorMessage("DOMAIN_PRODUCT_DELETE", ex);
                return;
            }

            RedirectToBrowsePage();
        }
        private void DeleteHostingPlan()
        {
            try
            {
                int result = StorehouseHelper.DeleteProduct(ecPanelRequest.ProductId);

                if (result < 0)
                {
                    ShowResultMessage(result);
                    return;
                }
            }
            catch (Exception ex)
            {
                ShowErrorMessage("HOSTING_PLAN_DELETE", ex);
                return;
            }

            RedirectToBrowsePage();
        }