public bool Borrar(string ID) { D_Currency currency1 = new D_Currency(); if (currency1.Borrar(ID)) { return(true); } else { Mensaje = currency1.Mensaje; return(false); } }
public bool Modificar(E_Currency currency1) { D_Currency currency2 = new D_Currency(); if (currency2.Modificar(currency1)) { return(true); } else { Mensaje = currency2.Mensaje; return(false); } }
public List <E_Currency> Lista() { D_Currency currency1 = new D_Currency(); if (currency1.Lista() != null) { return(currency1.Lista()); } else { Mensaje = currency1.Mensaje; return(null); } }
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); } }
public BaseCurrency() { _dalCcy = new D_Currency(); }