コード例 #1
0
        public ActionResult DeleteCart(int id)
        {
            ServiceLayer serviceLayer = new ServiceLayer();

            serviceLayer.DeleteCart(id);
            return(RedirectToAction("ViewCart", new { id = GetUserId() }));
        }