public ActionResult DeleteOrder(int orderid) { Order o = BizLogic.GetOrderbyOrderID(orderid); BizLogic.DeleteOrder(orderid); return(Redirect("~/orders/" + o.UserName)); }