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

            data = productRepository.GetAll();

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