Example #1
0
        public ActionResult Index()
        {
            //Display Active Home
            ViewBag.isActive = UtilContants.HOME_NAV;

            TourModel model = new TourModel();
            var       tour  = model.listTourHot();
            var       hotel = model.listHotel();
            var       listComboBoxToPlace   = model.listComboBoxToPlace();
            var       listComboBoxFromPlace = model.listComboBoxFromPlace();
            TourHotel listContainer         = new TourHotel();

            listContainer.Tour  = tour;
            listContainer.Hotel = hotel;
            listContainer.listComboBoxFromPlace = listComboBoxFromPlace;
            listContainer.listComboBoxToPlace   = listComboBoxToPlace;


            return(View(listContainer));
        }