public HomeController(IEventsDao EventsDao, IBannerDao bannerDao, IOurTownDao ourTownDao, IAboutUsDao aboutUsDao, IContactsDao contactsDao)
 {
     _EventsDao   = EventsDao;
     _bannerDao   = bannerDao;
     _ourTownDao  = ourTownDao;
     _aboutUsDao  = aboutUsDao;
     _contactsDao = contactsDao;
 }
 public ContactUsController(IContactsDao contactUsDao, IBannerDao bannerDao)
 {
     _contactUsDao = contactUsDao;
     _bannerDao    = bannerDao;
 }
예제 #3
0
 public ContactsBiz(IContactsDao dao)
 {
     this.m_Dao = dao;
 }
예제 #4
0
 public ContactsController(IContactsDao dao, ISessionFactory sf)
     : base(sf)
 {
     contactsDao = dao;
 }
예제 #5
0
 public IList<EmployeeLdap> GetPhoneBookList()
 {
     if (ContactsDao == null)
         ContactsDao = new Ecs.Intranet.Data.Dao.ContactsDao();
     return ContactsDao.GetPhoneBookList();
 }