public void eliminarPeriodo(CatPeriodos _catperiodos) { try { CatPeriodosDAL _catperiodosDAL = new CatPeriodosDAL(); _catperiodosDAL.eliminarPeriodo(_catperiodos); } catch (Exception ex) { throw new Exception(ex.Message); } }
public List <CatPeriodos> list(int id = 0, string filtro = null) { try { CatPeriodosDAL _catPeriodosDAL = new CatPeriodosDAL(); return(_catPeriodosDAL.obtenerPeriodos(id, filtro)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public int insertarPeriodo(CatPeriodos _catperiodos) { try { CatPeriodosDAL _catperiodosDAL = new CatPeriodosDAL(); return(_catperiodosDAL.insertarPeriodo(_catperiodos)); } catch (Exception ex) { throw new Exception(ex.Message); } }