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