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; }
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; }
public DiaryController(DAL.DiaryDAL dal) { this.dal = dal; }