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

            if (currency1.Borrar(ID))
            {
                return(true);
            }
            else
            {
                Mensaje = currency1.Mensaje;
                return(false);
            }
        }
Пример #2
0
        public bool Modificar(E_Currency currency1)
        {
            D_Currency currency2 = new D_Currency();

            if (currency2.Modificar(currency1))
            {
                return(true);
            }
            else
            {
                Mensaje = currency2.Mensaje;
                return(false);
            }
        }
Пример #3
0
        public List <E_Currency> Lista()
        {
            D_Currency currency1 = new D_Currency();

            if (currency1.Lista() != null)
            {
                return(currency1.Lista());
            }
            else
            {
                Mensaje = currency1.Mensaje;
                return(null);
            }
        }
Пример #4
0
        public E_Currency ObtenerCurrency(string id)
        {
            D_Currency currency1 = new D_Currency();
            E_Currency currency2 = currency1.Obtener_Currency(id);

            if (currency2 != null)
            {
                return(currency2);
            }
            else
            {
                Mensaje = currency1.Mensaje;
                return(null);
            }
        }
Пример #5
0
 public BaseCurrency()
 {
     _dalCcy = new D_Currency();
 }