Exemple #1
0
        public static string Insertar(string nombre, int idcarrera)
        {
            DGrado Obj = new DGrado();

            Obj.Nombre    = nombre;
            Obj.IdCarrera = idcarrera;
            return(Obj.Insertar(Obj));
        }
Exemple #2
0
        public static string Editar(int idgrado, string nombre, int idcarrera)
        {
            DGrado Obj = new DGrado();

            Obj.IdGrado   = idgrado;
            Obj.Nombre    = nombre;
            Obj.IdCarrera = idcarrera;
            return(Obj.Editar(Obj));
        }