public ActionResult Obter(int id) { var obj = _despesaRepository.Find(id); if (obj == null) { return(NotFound()); } return(Ok(obj)); }