Example #1
0
        // GET: Carts/Delete/5
        public IActionResult Delete(int id)
        {
            CartProduct cart = cartProductService.GetById(id);

            if (cart == null)
            {
                return(NotFound());
            }

            return(View(cart));
        }