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); }
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); }