Пример #1
0
        public bool Borrar(string ID)
        {
            D_Shipper shipper1 = new D_Shipper();

            if (shipper1.Borrar(ID))
            {
                return(true);
            }
            else
            {
                Mensaje = shipper1.Mensaje;
                return(false);
            }
        }
Пример #2
0
        public bool Modificar(E_Shipper shipper1)
        {
            D_Shipper shipper2 = new D_Shipper();

            if (shipper2.Modificar(shipper1))
            {
                return(true);
            }
            else
            {
                Mensaje = shipper2.Mensaje;
                return(false);
            }
        }
Пример #3
0
        public List <E_Shipper> Lista()
        {
            D_Shipper shipper1 = new D_Shipper();

            if (shipper1.Lista() != null)
            {
                return(shipper1.Lista());
            }
            else
            {
                Mensaje = shipper1.Mensaje;
                return(null);
            }
        }
Пример #4
0
        public E_Shipper ObtenerShipper(string id)
        {
            D_Shipper shipper1 = new D_Shipper();
            E_Shipper shipper2 = shipper1.Obtener_Shipper(id);

            if (shipper2 != null)
            {
                return(shipper2);
            }
            else
            {
                Mensaje = shipper1.Mensaje;
                return(null);
            }
        }