public bool PatchFamily(int id, [FromBody] Arrays json) { bool valor = _SpecieRepository.UpdateFamily(id, json.Family); if (valor == true) { TempData["edicion"] = 1; } else { TempData["edicion"] = -1; } return(true); }