public IActionResult GetAllContactos() { try { return(Ok(contactoService.GetAll())); } catch (Exception ex) { AltivaLog.Log.Insertar(ex.ToString(), "Error"); return(BadRequest()); } }