Ejemplo n.º 1
0
 public ActionResult Delete(int[] categoryIDs = null)
 {
     if (categoryIDs != null)
     {
         CatalogBLL.DeleteCategories(categoryIDs);
     }
     return(RedirectToAction("Index"));
 }
Ejemplo n.º 2
0
 public ActionResult Delete(int[] CategoriesID)
 {
     if (CategoriesID != null)
     {
         CatalogBLL.DeleteCategories(CategoriesID);
     }
     return(RedirectToAction("Index"));
 }
Ejemplo n.º 3
0
 public IActionResult Delete(int[] categoryIDs)
 {
     CatalogBLL.DeleteCategories(categoryIDs);
     return(RedirectToAction("Index"));
 }