Esempio n. 1
0
 public void DeleteCategories(DeleteCategoriesInput input)
 {
     this.PerformDeleteObjects<Category>(input.CategoryList,
         _categoryRepository,
         id =>
         {
             var categorization = _productCategorizationRepository.Single(c => c.Category.Id == id);
             if (categorization != null)
                 _productCategorizationRepository.Delete(categorization);
         });
 }
Esempio n. 2
0
 public void DeleteCategories(DeleteCategoriesInput categoryList)
 {
     _productServiceImp.DeleteCategories(categoryList);
 }