예제 #1
0
        public static string Eliminar(int idNota)
        {
            DatosNota Nota = new DatosNota();

            Nota.IdNota = idNota;
            return(Nota.Eliminar(Nota));
        }
예제 #2
0
        /*MÉTODOS QUE LLAMAN A LOS MÉTODOS CORRESPONDIENTES DE LA CLASE "DATOSNOTA" DE LA CAPADATOS*/
        public static string Insertar(string nota, int x, int y, int ancho, int alto)
        {
            DatosNota Nota = new DatosNota();

            Nota.Nota  = nota;
            Nota.X     = x;
            Nota.Y     = y;
            Nota.Ancho = ancho;
            Nota.Alto  = alto;
            return(Nota.Insertar(Nota));
        }
예제 #3
0
        public static string Editar(int idNota, string nota, int x, int y, int ancho, int alto)
        {
            DatosNota Nota = new DatosNota();

            Nota.IdNota = idNota;
            Nota.Nota   = nota;
            Nota.X      = x;
            Nota.Y      = y;
            Nota.Ancho  = ancho;
            Nota.Alto   = alto;
            return(Nota.Editar(Nota));
        }