Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public static bool OgrSilBll(int p)
        {
            if (p != null)
            {
                return(OgrenciDal.OgrSil(p));
            }

            return(false);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 4
0
 public static List <EntityOgrenci> OgrGuncelleBll(int id)
 {
     return(OgrenciDal.OgrGuncelle(id));
 }
Ejemplo n.º 5
0
 public static List <EntityOgrenci> OgrListeleBll()
 {
     return(OgrenciDal.OgrListesi());
 }