public IActionResult AddToCart(int DrinkId, int quantity = 1) { Drink drink = db.Drinks.First(d => d.DrinkId == DrinkId); CartItem cartItem = shoppingCartManager.CreateCartItem(drink, quantity); this.shoppingCartManager.AddToCart(cartItem); return(RedirectToAction(nameof(MyCart))); }