Example #1
0
 public bool DeleteProductCategory(ViewModel.tblProductCategory ProductCategory)
 {
     return(sqlHelper.RunProcedure("sp_tblProductCategory_DeleteRow", ProductCategory) > 0);
 }
Example #2
0
 public bool AddProductCategory(ViewModel.tblProductCategory ProductCategory)
 {
     return(sqlHelper.RunProcedure("sp_tblProductCategory_Insert", ProductCategory) > 0);
 }
Example #3
0
 public bool UpdateProductCategoryPicUrl(ViewModel.tblProductCategory ProductCategory)
 {
     return(sqlHelper.RunProcedure("sp_tblProductCategory_UpdatePicUrl", ProductCategory) > 0);
 }
Example #4
0
 public DataSet GetDataFromChildToParent(ViewModel.tblProductCategory ProductCategory)
 {
     return(sqlHelper.returnDataSet("sp_tblProductCategory_GetDataFromChildToParent", ProductCategory));
 }
Example #5
0
 public JArray GetProductCategoryFromChildToParentForSiteMapMenu(ViewModel.tblProductCategory ProductCategory)
 {
     return(sqlHelper.ReturnJsonData("sp_tblProductCategory_GetDataFromChildToParentForSiteMapMenu", ProductCategory));
 }
Example #6
0
 public JArray GetDataWithMasterProductForSOL(ViewModel.tblProductCategory ProductCategory)
 {
     return(sqlHelper.ReturnJsonData("sp_tblProductCategory_GetDataWithMasterProductForSOL", ProductCategory));
 }
Example #7
0
 public JArray GetJsonDataFromParentToChildForSite(ViewModel.tblProductCategory ProductCategory)
 {
     return(sqlHelper.ReturnJsonData("sp_tblProductCategory_GetJsonDataFromParentToChildForSite", ProductCategory));
 }
Example #8
0
 public JArray GetProductCategoryJsonDataFromParentToMaster(ViewModel.tblProductCategory ProductCategory)
 {
     return(sqlHelper.ReturnJsonData("sp_tblProductCategory_GetDataFromParentToMaster", ProductCategory));
 }