Esempio n. 1
0
 public static void PostOlustur(Proje.DataAccess.icerik postyap)
 {
     Proje.DataAccess.WebProjeEntities ent = new DataAccess.WebProjeEntities();
     ent.icerik.Add(postyap);
     ent.SaveChanges();
 }
Esempio n. 2
0
 public static void IcerikEkle(Proje.DataAccess.icerik yazilar)
 {
     Proje.DataAccess.WebProjeEntities ent = new DataAccess.WebProjeEntities();
     ent.icerik.Add(yazilar);
     ent.SaveChanges();
 }