public IActionResult Buy(int id) { UserCartManager.Create(HttpContext.Session.GetUserId(), id); return(RedirectToAction("MyCart", "Account")); }
public IActionResult Buy(int id) { //jasaglaba izveleta prece lietotaja groza. UserCartManager.Create(HttpContext.Session.GetUserId(), id); return(RedirectToAction("MyCart", "Account")); }