public IActionResult Get() { Data <PersonaQuery> data = new Data <PersonaQuery>(); data = personaRepository.GetAll(); if (data.status.Equals(Status.Error)) { return(NotFound(data)); } return(Ok(data)); }