示例#1
0
 public ActionResult DeleteOrderedProduct(int id, FormCollection collection)
 {
     try
     {
         // TODO: Add delete logic here
         orderLogic.DeleteOrderedProduct(id);
         return(RedirectToAction("IndexOrderedProduct"));
     }
     catch
     {
         return(View());
     }
 }