Example #1
0
 public ActionResult Delete(int[] categoryIDs = null)
 {
     if (categoryIDs != null && CatalogBLL.DeleteCategoris(categoryIDs) > 0)
     {
         SetAlert("Delete Categories success !", "success");
     }
     else
     {
         SetAlert("Delete Countries fail, Because of the associated constraints  !", "danger");
     }
     return(RedirectToAction("Index"));
 }