Ejemplo n.º 1
0
        public static void Actualizar(string P_Cedula, string P_Nombre, string P_Apellidos, string P_Telefono, string P_Email, string P_Padecimientos, string P_Direccion)
        {
            var Profesor = new TB_Profesores
            {
                ID_PROFESOR   = _herra.Encrypt(P_Cedula),
                NOMBRE        = _herra.Encrypt(P_Nombre.ToUpper()),
                APELLIDOS     = _herra.Encrypt(P_Apellidos.ToUpper()),
                TELEFONO      = _herra.Encrypt(P_Telefono),
                EMAIL         = _herra.Encrypt(P_Email.ToUpper()),
                PADECIMIENTOS = _herra.Encrypt(P_Padecimientos.ToUpper()),
                DIRECCION     = _herra.Encrypt(P_Direccion.ToUpper())
            };

            _profe.Actualizar(Profesor);
        }
Ejemplo n.º 2
0
 // Insertar()
 public void Insertar(TB_Profesores Profesor)
 {
     _db.Insert(Profesor);
 }
Ejemplo n.º 3
0
 // Actualizar()
 public void Actualizar(TB_Profesores Profesor)
 {
     _profe.Actualizar(Profesor);
 }
Ejemplo n.º 4
0
 // Actualizar()
 public void Actualizar(TB_Profesores Profesor)
 {
     _db.Update(Profesor);
 }
Ejemplo n.º 5
0
 // Insertar()
 public void Insertar(TB_Profesores Profesor)
 {
     _profe.Insertar(Profesor);
 }