public IActionResult GetHistorial(int id) { var buscarHistorial = _repositorio.BuscarHistorialPorId(id); if (buscarHistorial == null) { return(NotFound()); } return(Ok(buscarHistorial)); }