예제 #1
0
        public static bool OgrUpdateBll(EntityOgrenci entityOgrenci)
        {
            if (entityOgrenci.OgrAd != null && entityOgrenci.OgrSoyad != null && entityOgrenci.OgrNumara != null && entityOgrenci.OgrSifre != null && entityOgrenci.OgrFoto != null && entityOgrenci.OgrId > 0)
            {
                return(OgrenciDal.OgrUpdate(entityOgrenci));
            }

            return(false);
        }
예제 #2
0
        public static bool OgrSilBll(int p)
        {
            if (p != null)
            {
                return(OgrenciDal.OgrSil(p));
            }

            return(false);
        }
예제 #3
0
        public static int OgrEkleBll(EntityOgrenci entityOgrenci)
        {
            if (entityOgrenci.OgrAd != null && entityOgrenci.OgrSoyad != null && entityOgrenci.OgrNumara != null && entityOgrenci.OgrSifre != null && entityOgrenci.OgrFoto != null)
            {
                return(OgrenciDal.OgrEkle(entityOgrenci));
            }

            return(-1);
        }
예제 #4
0
 public static List <EntityOgrenci> OgrGuncelleBll(int id)
 {
     return(OgrenciDal.OgrGuncelle(id));
 }
예제 #5
0
 public static List <EntityOgrenci> OgrListeleBll()
 {
     return(OgrenciDal.OgrListesi());
 }