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