public object FastDelivery(CartDto cart, bool isFastDelivery, string city)
        {
            city = "aaaaaaaa";

            var request = new CartServiceAddFastDeliveryRequest(cart, isFastDelivery);

            _cartService.AddFastDelivery(request);

            ViewBag.IsCheckOutLinkVisible = false;

            return Json(new { cartHtml = RenderRazorViewToString("Summary", cart), cityText = city }, JsonRequestBehavior.AllowGet);
        }
 public void AddFastDelivery(CartServiceAddFastDeliveryRequest request)
 {
     if (request.AddFastDelivery)
         request.Cart.ExtraPrice = (double)request.Cart.ComputeTotalValue() * 0.05;
     else request.Cart.ExtraPrice = 0;
 }