コード例 #1
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);
 }
コード例 #2
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);
 }
コード例 #3
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);
 }
コード例 #4
0
 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);
 }
コード例 #5
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);
 }