public ActionResult OrdersDetails(int Id) { var order = dao.GetByID(Id); ViewBag.OrderDetails = dao.getOrderDetails(Id); ViewBag.Total = dao.getTotal(Id); return(View(order)); }
public ActionResult OrdersDetails(int Id) { var order = dao.GetByID(Id); ViewBag.OrderDetails = dao.getOrderDetails(Id); ViewBag.Total = dao.getTotal(Id); return(View(order)); }