Exemple #1
0
        public IActionResult Get()
        {
            Data <PersonaQuery> data = new Data <PersonaQuery>();

            data = personaRepository.GetAll();

            if (data.status.Equals(Status.Error))
            {
                return(NotFound(data));
            }
            return(Ok(data));
        }