Esempio n. 1
0
        public ActionResult Obter(int id)
        {
            var obj = _despesaRepository.Find(id);

            if (obj == null)
            {
                return(NotFound());
            }

            return(Ok(obj));
        }