Ejemplo n.º 1
0
 public KoseYazisiController()
 {
     this.db              = new HaberSitesiDbContext();
     this.haberServis     = new HaberServis(db);
     this.kategoriServis  = new KategoriServis(db);
     this.kullaniciServis = new KullaniciServis(db);
 }
Ejemplo n.º 2
0
 public HaberController()
 {
     this.db              = new HaberSitesiDbContext();
     this.haberServis     = new HaberServis(db);
     this.etiketServis    = new EtiketServis(db);
     this.kategoriServis  = new KategoriServis(db);
     this.kullaniciServis = new KullaniciServis(db);
 }
Ejemplo n.º 3
0
 public OrtakController()
 {
     this.db              = new HaberSitesiDbContext();
     this.haberServis     = new HaberServis(db);
     this.kategoriServis  = new KategoriServis(db);
     this.kullaniciServis = new KullaniciServis(db);
     this.yorumServis     = new YorumServis(db);
 }
Ejemplo n.º 4
0
 public AnaController()
 {
     this.kullaniciServis = new KullaniciServis();
 }
Ejemplo n.º 5
0
 public YazarController()
 {
     this.db = new HaberSitesiDbContext();
     this.kullaniciServis = new KullaniciServis(db);
 }
Ejemplo n.º 6
0
 public KullaniciController()
 {
     this.db = new HaberPortalDbContext();
     this.kullaniciServis = new KullaniciServis(db);
     this.rolServis       = new RolServis(db);
 }
Ejemplo n.º 7
0
 public UyelikSaglayici()
 {
     this.kullaniciServis = new KullaniciServis();
 }