Пример #1
0
        public IActionResult GetAll()
        {
            try
            {
                return(Ok(classBusiness.GetAll()));
            }
            catch (Exception)
            {
                return(BadRequest("Não foi possível completar a requisição"));

                throw;
            }
        }