Пример #1
0
        public List <Telefon> GetTelefons(int id)
        {
            Telefonbll     telbll  = new Telefonbll();
            KisiBLL        kisibll = new KisiBLL();
            Kisi           k       = kisibll.GetPeopleId(id);
            List <Telefon> t       = telbll.GetTelefons(k.KisiId);

            return(t);
        }
Пример #2
0
        public List <Telefon> GetTelephone(int id)
        {
            Telefonbll tel = new Telefonbll();
            //KisiBLL kisiler = new KisiBLL();
            //Kisi k = kisiler.GetPeopleId(id);
            List <Telefon> kis = tel.GetTelefons(id);

            return(kis);
        }