public static void MaasGuncelle(MaasDetayDTO maas, bool control) { MaasDAO.MaasGuncelle(maas); if (control) { PersonelDAO.PersonelMaasGuncelle(maas); } }
public static void PozisyonGuncelle(PozisyonDetayDTO detay, bool control) { PozisyonDAO.PozisyonGuncelle(detay); if (control) { PersonelDAO.PersonelGuncelle(detay); } }
public static PersonelDTO GetAll() { PersonelDTO dto = new PersonelDTO(); dto.Departmanlar = DepartmanDAO.DepartmanGetir(); dto.Pozisyonlar = PozisyonDAO.PozisyonGetir(); dto.Personeller = PersonelDAO.PersonelGetir(); return(dto); }
public static void MaasEkle(MAA maas, bool control) { MaasDAO.MaasEkle(maas); if (control) { MaasDetayDTO dto = new MaasDetayDTO(); dto.PersoneID = maas.PersonelID; dto.MaasMiktar = maas.Miktar; PersonelDAO.PersonelMaasGuncelle(dto); } }
public static MaasDTO GetAll() { MaasDTO dto = new MaasDTO(); dto.Departmanlar = DepartmanDAO.DepartmanGetir(); dto.Pozisyonlar = PozisyonDAO.PozisyonGetir(); dto.Personeller = PersonelDAO.PersonelGetir(); dto.Aylar = MaasDAO.getAylar(); dto.Maaslar = MaasDAO.MaasGetir(); return(dto); }
public static IsDTO GetAll() { IsDTO dto = new IsDTO(); dto.Departmanlar = DepartmanDAO.DepartmanGetir(); dto.Pozisyonlar = PozisyonDAO.PozisyonGetir(); dto.Personeller = PersonelDAO.PersonelGetir(); dto.Durumlar = IsDAO.DurumGetir(); dto.Isler = IsDAO.IsGetir(); return(dto); }
public static bool isUnique(int v) { List <PERSONEL> list = PersonelDAO.PersonelGetir(v); if (list.Count > 0) { return(true); } else { return(false); } }
public static void PersonelSil(int personeID) { PersonelDAO.PersonelSil(personeID); }
public static void PersonelGuncelle(PersonelDetayDTO pr) { PersonelDAO.PersonelGuncelle(pr); }
public static List <PERSONEL> PersonelGetir(int v, string text) { return(PersonelDAO.PersonelGetir(v, text)); }
public static void PersonelEkle(PERSONEL pr) { PersonelDAO.PersonelEkle(pr); }