Exemple #1
0
 public HomeController()
 {
     _repositoryBanner  = new BannerDAO();
     _repositoryVideos  = new VideosDAO();
     _repositoryPartner = new PartnershipDAO();
     _repositryNav      = new NavigationDao();
     _vm = new HomeVM();
 }
Exemple #2
0
        public TechnicalController()
        {
            _reposVideo = new VideosDAO();
            IRepositryBase <Fly_Navigation> repositryNav = new NavigationDao();

            _repositoryPartner = new PartnershipDAO();
            _vm = new TechnicalVm();

            List <Fly_Navigation> listNav = repositryNav.getAllItems().ToList();

            ViewData[StaticVariable.Navigation] = listNav;
        }
Exemple #3
0
        public ProductController()
        {
            _reposProduct      = new ProductDAO();
            _repositoryPartner = new PartnershipDAO();
            _reposVideo        = new VideosDAO();
            _repositoryUser    = new CustomerDAO();
            _repositryNav      = new NavigationDao();

            _vm = new ProductsVM();

            List <Fly_Navigation> listNav = _repositryNav.getAllItems().ToList();

            ViewData[StaticVariable.Navigation] = listNav;
        }
Exemple #4
0
        //VideosDAO repository = new VideosDAO();
        //PositionGalleryDAO posGallery = new PositionGalleryDAO();
        //SectionContentDAO secContentDAO = new SectionContentDAO();

        public VideoController()
        {
            _vm            = new VideoVM();
            _repository    = new VideosDAO();
            _repositoryPos = new PositionGalleryDAO();
        }