public Entidades.Cargos RecuperarTodos() { Datos.Cargos oDatos; try { oDatos = new Datos.Cargos(); return oDatos.RecuperarTodos(); } finally { oDatos = null; } }
public void Modificar(Entidades.Cargo item) { Datos.Cargos oDatos; try { oDatos = new Datos.Cargos(); oDatos.Modificar(item); } finally { oDatos = null; } }
public void Borrar(int IdCargo) { Datos.Cargos oDatos; try { oDatos = new Datos.Cargos(); oDatos.Borrar(IdCargo); } finally { oDatos = null; } }
public bool ExisteCargo(int id) { Datos.Cargos oDatos; try { oDatos = new Datos.Cargos(); return oDatos.ExisteCargo(id); } finally { oDatos = null; } }
public int Agregar(Entidades.Cargo item) { Datos.Cargos oDatos; try { oDatos = new Datos.Cargos(); return oDatos.Agregar(item); } finally { oDatos = null; } }