public static bool Insert(Empreinte bean) { try { return(EmpreinteDAO.getInsert(bean)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public static bool Insert(Empreinte bean, Npgsql.NpgsqlConnection connect) { try { return(EmpreinteDAO.getInsert(bean, connect)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public static List <Empreinte> List(string query) { try { return(EmpreinteDAO.getList(query)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public static Empreinte OneByEmployeFacial(long employe, int facial, Npgsql.NpgsqlConnection connect) { try { return(EmpreinteDAO.getOneByEmployeFacial(employe, facial, connect)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public static Empreinte OneByEmployeFinger(long employe, int finger) { try { return(EmpreinteDAO.getOneByEmployeFinger(employe, finger)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public static bool Delete(Empreinte bean, long id) { try { return(EmpreinteDAO.getDelete(id)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public static Empreinte OneById(long id) { try { return(EmpreinteDAO.getOneById(id)); } catch (Exception ex) { throw new Exception(ex.Message); } }