public ActionResult Delete(string method = "", int orderID = 0, int[] productIDs = null)
 {
     try
     {
         if (productIDs != null)
         {
             SaleManagementBLL.OrderDetail_Delete(orderID, productIDs);
         }
         TempData["orderId"] = orderID;
         return(RedirectToAction("Index"));
     }
     catch (Exception ex)
     {
         TempData["orderId"] = orderID;
         return(RedirectToAction("Index"));
     }
 }