Exemplo n.º 1
0
 public TestController(DAL.DiaryDAL diarydal, DAL.AdminDAL adal, DAL.BlogDAL blogdal, DAL.CategoryDAL cadal, IHostingEnvironment hostingEnv)
 {
     this.diarydal   = diarydal;
     this.adal       = adal;
     this.cadal      = cadal;
     this.blogdal    = blogdal;
     this.hostingEnv = hostingEnv;
 }
Exemplo n.º 2
0
 public HomeController(IHostingEnvironment env, DAL.BlogDAL blogdal, DAL.DiaryDAL diarydal, DAL.ShuqianDAL sqdal, DAL.CasevideoDAL casedal)
 {
     hostingEnv    = env;
     this.blogdal  = blogdal;
     this.diarydal = diarydal;
     this.sqdal    = sqdal;
     this.casedal  = casedal;
 }
Exemplo n.º 3
0
 public DiaryController(DAL.DiaryDAL dal)
 {
     this.dal = dal;
 }