public IActionResult RemoveFromCart(int gameId, string returnUrl) { Game game = _repository.Find(gameId); if (game != null) { _cartProvider.RemoveLine(game); } return(RedirectToAction("Index", new { returnUrl })); }