public IActionResult Details(int id, string search) { ViewData["SEARCH"] = search; Player player = this.repository.GetPlayer(id, search); List <int> stats = ToolkitService.GetSatats(id.ToString()).Select(int.Parse).ToList(); player = ToolkitService.MapeoDeStats(player, stats); return(View(player)); }