public async Task <IActionResult> Delete(int id) { var lineItem = await _context.GetLineItem(id); await _context.DeleteLineItem(lineItem); return(RedirectToAction("Active", "Carts", new { userID = _userManager.GetUserId(User) })); }