public static Product Update(Product Product)
        {
            dProduct _dProduct = new dProduct();

            if (Convert.ToBoolean(ConfigurationSettings.AppSettings["IsEmailEnable"]))
            {
                string mailBody = MailHelper.ActivityMail("Product", "Product Updation done on " + Product.Product_Title +
                                                          "( " + Product.Product_Id + "  and " + Product.ProductCode + " ) successfully.",
                                                          Product.Administrators_Id, DateTime.Now.ToString());

                MailHelper.SendEmail(MailHelper.EmailToSend(), "Product Updation", mailBody, "Rachna Teracotta : Activity Admin");
            }
            return(_dProduct.Update(Product));
        }
        public static ProductBanners CreateProductBanner(ProductBanners ProductBanner)
        {
            dProduct _dProduct = new dProduct();

            if (Convert.ToBoolean(ConfigurationSettings.AppSettings["IsEmailEnable"]))
            {
                string mailBody = MailHelper.ActivityMail("Product", "New Product Banner " +
                                                          "( " + ProductBanner.Product_Banner_Id + "  and " + ProductBanner.Product_BannerCode + " ) created successfully.",
                                                          ProductBanner.Administrators_Id, DateTime.Now.ToString());

                MailHelper.SendEmail(MailHelper.EmailToSend(), "New Product Banner Created", mailBody, "Rachna Teracotta : Activity Admin");
            }
            return(_dProduct.CreateProductBanner(ProductBanner));
        }
        internal static void DeleteCart(int product_Id)
        {
            dProduct _dProduct = new dProduct();

            _dProduct.DeleteCart(product_Id);
        }
        internal static void DeleteProductFeature(int product_Id)
        {
            dProduct _dProduct = new dProduct();

            _dProduct.DeleteProductFeature(product_Id);
        }
        public static int Delete(Product Product)
        {
            dProduct _dProduct = new dProduct();

            return(_dProduct.Delete(Product));
        }
        public static List <ProductBanners> ListProductBanner()
        {
            dProduct _dProduct = new dProduct();

            return(_dProduct.ListProductBanner());
        }
        public static List <Product> List()
        {
            dProduct _dProduct = new dProduct();

            return(_dProduct.List());
        }