Example #1
0
 public ActionResult Edit(int id, FormCollection collection)
 {
     try
     {
         myHandler = new BusinessLogicHandler();
         item = new OrderItem();
         order = new Order();
         myHandler.UpdateOrder(order);
         myHandler.UpdateOrderItem(item);
         return RedirectToAction("Index");
     }
     catch
     {
         return View();
     }
 }