public IActionResult BuyCards(long X, long playerID) { HeroActionCard theCard = GetCardFromShop(X); _data.AddCardToCollection(playerID, theCard); _data.DeleteCardFromShop(theCard); Player current = Player.AssemblePlayer(playerID, _data); return(RedirectToAction("CardTrader", current)); }