async public Task<string> AddJugador(Jugador entity) { JugadorService service = new JugadorService(); return await service.AddJugador(entity) ? "registro guardado." : "Error guardando el registro."; }
async public Task<string> DeleteJugador(string Id) { JugadorService service = new JugadorService(); return await service.DeleteJugador(Id) ? "registro eliminado." : "Error eliminando el registro."; }
async public Task<JsonResult> GetJugador(string Id) { JugadorService service = new JugadorService(); return Json(await service.GetJugador(Id), JsonRequestBehavior.AllowGet); }