public ActionResult OrderConfirmation(Guid orderGuid)
        {
            OrderDomainLogic orderDomainLogic = new OrderDomainLogic();
            var model = orderDomainLogic.GetOrderDetails(orderGuid);

            return(View("OrderConfirmation", model));
        }
        public ActionResult OrderDetail(Guid orderGuid)
        {
            Order order = new Order();

            if (orderGuid != Guid.Empty)
            {
                OrderDomainLogic orderDomainLogic = new OrderDomainLogic();
                order = orderDomainLogic.GetOrderDetails(orderGuid);
            }
            return(View("OrderDetailBuyer", order));
        }
        public ActionResult OrderConfirmation(Guid orderGuid, PaymentType paymentType)
        {
            OrderDomainLogic orderDomainLogic = new OrderDomainLogic();
            var result = orderDomainLogic.UpdateDeliveryOptionPaymentMethod(orderGuid, paymentType);

            if (!result)
            {
                return(RedirectTo404());
            }
            var model = orderDomainLogic.GetOrderDetails(orderGuid);

            return(RedirectToAction("orderconfirmation", new { orderGuid = orderGuid }));//return View("OrderConfirmation", model);
        }