public static PersonelDTO GetAll()
        {
            PersonelDTO dto = new PersonelDTO();

            dto.Departmanlar = DepartmanDAO.DepartmanGetir();
            dto.Pozisyonlar  = PozisyonDAO.PozisyonGetir();
            dto.Personeller  = PersonelDAO.PersonelGetir();
            return(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);
        }
Exemplo n.º 3
0
        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 List <PERSONEL> PersonelGetir(int v, string text)
 {
     return(PersonelDAO.PersonelGetir(v, text));
 }