Exemplo n.º 1
0
 public static bool Sil(int deger)
 {
     if (deger != null && deger > 1)
     {
         return(FacadOgrenci.OgrenciSil(deger));
     }
     return(false);
 }
Exemplo n.º 2
0
 public static bool Guncelle(EntityOgrenci deger)
 {
     if (deger.Ad != null && deger.Soyad != null && deger.Kulupid > 0 && deger.Fotograf != null &&
         deger.Kulupid > 0 && deger.Id > 0)
     {
         return(FacadOgrenci.OgrenciGuncelle(deger));
     }
     return(false);
 }
Exemplo n.º 3
0
 public static int OgrenciEkle(EntityOgrenci deger)
 {
     if (deger.Ad != null && deger.Soyad != null && deger.Kulupid > 0 && deger.Fotograf != null &&
         deger.Kulupid > 0 && deger.Fotograf.Length > 1)
     {
         return(FacadOgrenci.OgrenciEkle(deger));
     }
     return(-1);
 }
Exemplo n.º 4
0
 public static List <EntityOgrenci> OgrenciListele()
 {
     return(FacadOgrenci.OgrenciListesi());
 }