public static bool OgrenciGuncelleBLL(EntityOgrenci p)
 {
     if (p.Ad != null && p.Soyad != null && p.Numara != null && p.SIFRE != null && p.FOTO != null && p.Id > 0 && p.Ad != "" && p.Soyad != "" && p.FOTO != "" && p.Numara != "" && p.SIFRE != "")
     {
         return(DALOgrenci.OgrenciGuncelle(p));
     }
     return(false);
 }
 public static int OgrenciEkleBLL(EntityOgrenci p)
 {
     if (p.Ad != null && p.Soyad != null && p.Numara != null && p.SIFRE != null && p.FOTO != null)
     {
         return(DALOgrenci.OgrenciEkle(p));
     }
     return(-1);
 }
 public static bool OgrenciSilBLL(int p)
 {
     if (p >= 0)
     {
         return(DALOgrenci.OgrenciSil(p));
     }
     return(false);
 }
 public static int OgrenciEkleBLL(EntityOgrenci p)
 {
     if (p.AD != null && p.SOYAD != null && p.NUMARA != null && p.SIFRE != null && p.FOTOGRAF != null)
     {
         return(DALOgrenci.OgrenciEkle(p));
     }
     return(-1);
 }
 public static bool OgrenciGuncelleBLL(EntityOgrenci p)
 {
     if (p.AD != null && p.AD != "" && p.SOYAD != null && p.SOYAD != "" && p.NUMARA != null && p.NUMARA != "" && p.SIFRE != null && p.SIFRE != "" && p.FOTOGRAF != null && p.FOTOGRAF != "" && p.ID > 0)
     {
         return(DALOgrenci.OgrenciGuncelle(p));
     }
     return(false);
 }
Beispiel #6
0
 public static bool OgrenciGuncelleBLL(EntityOgrenci p)
 {
     if (p.OrgAd != null && p.OrgAd != "" && p.OgrSoyad != null && p.OgrSoyad != "" && p.OgrNumara != null && p.OgrNumara != "" && p.OgrFotograf != null && p.OgrFotograf != "" && p.OgrSifre != null && p.OgrSifre != "" && p.OgrId > 0)
     {
         return(DALOgrenci.OgrenciGüncelle(p));
     }
     return(false);
 }
Beispiel #7
0
 public static bool OgrenciSilBLL(int Parametre)
 {
     if (Parametre >= 0)
     {
         return(DALOgrenci.OgrenciSil(Parametre));
     }
     return(true);
 }
Beispiel #8
0
 public static int OgrenciEkle(EntityOgrenci ogrenci)
 {
     if (ogrenci.OgrenciAd != null && ogrenci.OgrenciSoyad != null && ogrenci.OgrenciNumara != null && ogrenci.OgrenciMail != null && ogrenci.OgrenciSifre != null && ogrenci.OgrenciFotograf != null && ogrenci.OgrenciBakiye >= 0)
     {
         return(DALOgrenci.OgrenciEkle(ogrenci));
     }
     return(-1);
 }
Beispiel #9
0
 public static bool OgrenciGuncelleBll(EntityOgrenci p)
 {
     if (p.Ad != null && p.Soyad != null && p.Numara != null && p.Sifre != null && p.Fotograf != null && p.Id > 0)
     {
         return(DALOgrenci.OgrenciGuncelle(p));
     }
     return(false);
 }
Beispiel #10
0
 public static int OgrenciEkleBLL(EntityOgrenci p)
 {
     if (p.OrgAd != null && p.OgrSoyad != null && p.OgrNumara != null && p.OgrFotograf != null && p.OgrSifre != null)
     {
         return(DALOgrenci.OgrenciEkle(p));
     }
     return(-1);
 }
Beispiel #11
0
 public static bool OgrenciSil(int p)
 {
     if (p != null)
     {
         return(DALOgrenci.OgrenciSil(p));
     }
     return(false);
 }
Beispiel #12
0
 public static int OgrenciEkleBll(EntityOgrenci p)
 {
     if (p.Ad != null && p.Soyad != null && p.Numara != null && p.Sifre != null && p.Fotograf != null)
     {
         return(DALOgrenci.OgrenciEkle(p));
     }
     return(-1);
 }
Beispiel #13
0
 public static bool OgrenciGuncelle(EntityOgrenci ogrenci)
 {
     if (ogrenci.OgrenciAd != null && ogrenci.OgrenciSoyad != null && ogrenci.OgrenciNumara != null && ogrenci.OgrenciId > 0)
     {
         return(DALOgrenci.OgrenciGuncelle(ogrenci));
     }
     else
     {
         return(false);
     }
 }
Beispiel #14
0
 public static bool OgrenciSil(int OgrenciID)
 {
     if (OgrenciID >= 0)
     {
         return(DALOgrenci.OgrenciSil(OgrenciID));
     }
     else
     {
         return(false);
     }
 }
Beispiel #15
0
 public static List <EntityOgrenci> BllDetay(int p)
 {
     return(DALOgrenci.OgrenciDetay(p));
 }
Beispiel #16
0
 public static List <EntityOgrenci> BllListele()
 {
     return(DALOgrenci.OgrenciListesi());
 }
Beispiel #17
0
 public static List <EntityOgrenci> OgrenciDetay(int OgrenciID)
 {
     return(DALOgrenci.OgrenciDetay(OgrenciID));
 }