public void eliminarPuesto(CatPuestos _catpuestos) { try { CatPuestosDAL _catpuestosDAL = new CatPuestosDAL(); _catpuestosDAL.eliminarPuesto(_catpuestos); }catch (Exception ex) { throw new Exception(ex.Message); } }
public List <CatPuestos> list(string filtro = null) { try { CatPuestosDAL _catpuestosDAL = new CatPuestosDAL(); return(_catpuestosDAL.obtenerPuestos(filtro)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public int insertarPuesto(CatPuestos _catpuestos) { try { CatPuestosDAL _catpuestosDAL = new CatPuestosDAL(); return(_catpuestosDAL.insertarPuesto(_catpuestos)); } catch (Exception ex) { throw new Exception(ex.Message); } }