public object ClearShop() { // Clears all cards out of the shop gameData.ClearShop(); return(new { response = true, result = "Card Shop is now empty" }); }
public IActionResult Index(long playerID) { Player current = Player.AssemblePlayer(playerID, _data); _data.ClearShop(); FillCardShop(3); return(View("HeroShop", current)); //return Content($"the player ID is: {playerID}"); }