Exemplo n.º 1
0
        public AccessoriesController()
        {
            _vm                = new ProductsVM();
            _reposProduct      = new ProductDAO();
            _repositoryPartner = new PartnershipDAO();
            IRepositryBase <Fly_Navigation> repositryNav = new NavigationDao();

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

            ViewData[StaticVariable.Navigation] = listNav;
        }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
        public PaymentController()
        {
            _repositryOrder         = new OrderDao();
            _repositryShipping      = new ShippingMethodDao();
            _repositryPaymentMethod = new PaymentMethodDao();
            _vm                = new ShopCartVm();
            _reposProduct      = new ProductDAO();
            _repositoryUser    = new CustomerDAO();
            _repositoryCountry = new CountryDAO();


            IRepositryBase <Fly_Navigation> repositryNav = new NavigationDao();

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

            ViewData[StaticVariable.Navigation] = listNav;
        }