Beispiel #1
0
        public ActionResult FrmBuscarCorrespondencia()
        {
            CorrespondenciaDAO corresDAO = new CorrespondenciaDAO();

            ViewBag.lstCorres = corresDAO.busca();
            return(View());
        }
Beispiel #2
0
        public ActionResult CadastraContasAReceber(Correspondencia obj)
        {
            CorrespondenciaDAO dao = new CorrespondenciaDAO();

            dao.cadastra(obj);
            return(RedirectToAction("frmBuscaCorrespondencia"));
        }