Example #1
0
        public IActionResult GetByName(string name)
        {
            try
            {
                return(Ok(classBusiness.GetByName(name)));
            }
            catch (Exception)
            {
                return(BadRequest("Não foi possível completar a requisição"));

                throw;
            }
        }