public void Regjistro(Personeli l) { try { PersoneliDAL personeli = new PersoneliDAL(); personeli.Shto(l); } catch (Exception ex) { throw ex; } }
public void Edito(Personeli l) { try { PersoneliDAL dal = new PersoneliDAL(); dal.Update(l); } catch (Exception) { throw; } }
public DataTable ShfaqPersonel() { try { PersoneliDAL obj = new PersoneliDAL(); var r = obj.GetAll(); return(r); } catch (Exception ex) { throw ex; } }
public int GjejPersonelMeID(Personeli l) { try { PersoneliDAL gjejpersonel = new PersoneliDAL(); gjejpersonel.GjejPersonelMeID(l); int rowsAffected = l.PersonelID; return(rowsAffected); } catch (Exception ex) { throw ex; } }
public int Fshij(Personeli l) { try { PersoneliDAL dal = new PersoneliDAL(); dal.Fshij(l); int rowsAffected = l.PersonelID; return(rowsAffected); } catch (Exception ex) { throw ex; } }