public ActionResult Add(int id) { var product = _productRepository.FindById(id); _basket.AddProduct(product); return(RedirectToAction("Index")); }
public ActionResult Add(int id) { var product = _productRepository.FindById(id); _basket.AddProduct(product); return(RedirectToAction("Index")); }