예제 #1
0
        public IActionResult GetByYear(int year)
        {
            try
            {
                return(Ok(classBusiness.GetByYear(year)));
            }
            catch (Exception)
            {
                return(BadRequest("Não foi possível completar a requisição"));

                throw;
            }
        }