Esempio n. 1
0
 public bool Existe(string cod)
 {
     CapaDatos.Articulo articulo = new Articulo();
     if (articulo.Existe(cod))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Esempio n. 2
0
 public string eliminar(string cod)
 {
     if (ObjArticulo_CD.Existe(cod))
     {
         return
             (ObjArticulo_CD.Eliminar(cod));
     }
     else
     {
         return
             ("el articulo no existe");
     }
 }