Example #1
0
        public static bool DeleteProductSubCategory(long Id)
        {
            SqlProductCategoryProvider provider = new SqlProductCategoryProvider();

            return(provider.DeleteProductSubCategory(Id));
        }
Example #2
0
        public static List <ProductCategory> GetAllProductCategory()
        {
            SqlProductCategoryProvider provider = new SqlProductCategoryProvider();

            return(provider.GetAllProductCategory());
        }
Example #3
0
        public static long InsertProductSubCategory(ProductSubCategory product)
        {
            SqlProductCategoryProvider provider = new SqlProductCategoryProvider();

            return(provider.InsertProductSubCategory(product));
        }
Example #4
0
        public static bool UpdateProductSubCategory(ProductSubCategory product)
        {
            SqlProductCategoryProvider provider = new SqlProductCategoryProvider();

            return(provider.UpdateProductSubCategory(product));
        }
Example #5
0
        public static ProductSubCategory GetProductSubCategoryById(long Id)
        {
            SqlProductCategoryProvider provider = new SqlProductCategoryProvider();

            return(provider.GetProductSubCategoryById(Id));
        }
Example #6
0
        public static List <ProductSubCategory> GetSubCategoryByCategoryId(long id)
        {
            SqlProductCategoryProvider provider = new SqlProductCategoryProvider();

            return(provider.GetSubCategoryByCategoryId(id));
        }