Example #1
0
 public HaberController()
 {
     this.db = new HaberPortalDbContext();
     this.haberServis = new HaberServis(db);
     this.etiketServis = new EtiketServis(db);
     this.kategoriServis = new KategoriServis(db);
     this.kullaniciServis = new KullaniciServis(db);
 }
 public KullaniciController()
 {
     this.db = new HaberPortalDbContext();
     this.kullaniciServis = new KullaniciServis(db);
 }