예제 #1
0
 public CommonController()
 {
     productCategoryDAO = new ProductCategoryDAO(db);
     menuDAO            = new MenuDAO(db);
     postDAO            = new ClientPostDAO(db);
     systemInfoDAO      = new SystemInfoDAO(db);
     recruitmentDAO     = new RecruitmentDAO(db);
 }
예제 #2
0
 public PostController()
 {
     postDAO         = new ClientPostDAO(db);
     postCategoryDAO = new ClientPostCategoryDAO(db);
 }
예제 #3
0
 public HomeController()
 {
     postDAO = new ClientPostDAO(db);
     adDAO   = new AdDAO(db);
 }