Exemple #1
0
        public ActionResult EditarTipoDoc(int id)
        {
            TipoDocumentoBEAN oTipoBean = oTipoDocDAO.BuscarTipoDocId(id);

            return(View(oTipoBean));
        }
Exemple #2
0
        public ActionResult EditarTipoDoc(TipoDocumentoBEAN oTipoBean)
        {
            oTipoDocDAO.ActualizarTipoDoc(oTipoBean);

            return(RedirectToAction("ListarTipoDoc"));
        }
Exemple #3
0
 public ActionResult RegistrarTipoDoc(TipoDocumentoBEAN oTipoDocBean)
 {
     oTipoDocDAO.RegistroTipoDoc(oTipoDocBean);
     return(RedirectToAction("ListarTipoDoc"));
 }