public ActionResult Delete(int[] orderIDs = null) { if (orderIDs != null) { CatalogBLL.DeleteOrders(orderIDs); return(RedirectToAction("Index")); } return(RedirectToAction("Index")); }