public IActionResult AddQuantity(int?id) { if (id == null) { return(NotFound()); } else { _basketService.AddQuantity((int)id); _logger.Log(_userManager.GetUserId(HttpContext.User), "AddQuantity"); return(RedirectToAction("Basket")); } }