public async Task <IActionResult> Index( Dictionary <string, int> quantities, string action) { if (action == "[ Register ]") { return(RedirectToAction("Create", "Booking")); } try { var user = _identityService.Get(HttpContext.User); var basket = await _cartService.SetQuantities(user, quantities); var vm = await _cartService.UpdateWishList(basket); } catch (BrokenCircuitException) { // Catch error when CartApi is in open circuit mode HandleBrokenCircuitException(); } return(View()); }