public ActionResult AddCouponCode(string couponCode) { if (_cartService.AddCouponCode(CartWithValidationIssues.Cart, couponCode)) { _orderRepository.Save(CartWithValidationIssues.Cart); } else { return(new HttpStatusCodeResult(HttpStatusCode.NoContent)); } var viewModel = _cartViewModelFactory.CreateSimpleLargeCartViewModel(CartWithValidationIssues.Cart); return(PartialView("_CartSummary", viewModel)); }