// GET: JugadorRepository public async Task <ActionResult> Index() { await repositorio.DatosApi(); return(View(await repositorio.GetAll())); }