public List <Ogrenci> OgrenciNoListele(int OgrenciNo) { OgrenciDto dto = new OgrenciDto(); var list = from o in dto.TumListe() where o.OgrenciNo == OgrenciNo select o; return(list.ToList()); }
public List <Ogrenci> Listele() { OgrenciDto list = new OgrenciDto(); return(list.TumListe()); }