Beispiel #1
0
        public string RemoveItemFromBasket(int itemId)
        {
            basketRepo.RemoveItem(itemId);
            List <Basket> basket = basketRepo.GetItems();

            string ret = RenderPartialViewToString("~/Views/Home/BasketView.cshtml", basket);

            return(ret);
        }
        public string RemoveItemFromBasket(int itemId)
        {
            basketRepo.RemoveItem(itemId);

            return(GetBasketHtml());
        }