Example #1
0
 public ActionResult Index()
 {
     ViewBag.Title            = "Home Page";
     ViewBag.SlideList        = _homeServices.ListSlide();
     ViewBag.roomsList        = _homeServices.ListRoom();
     ViewBag.bedsList         = _homeServices.ListBed();
     ViewBag.servicesList     = _homeServices.ListServices();
     ViewBag.FooterCategories = _homeServices.ListFooterCategory();
     ViewBag.Footers          = _homeServices.ListFooter();
     ViewBag.About            = _homeServices.ListAbout();
     //ViewBag.ListMenu = _homeServices.ListMenu();
     return(View());
 }
Example #2
0
        public ActionResult Footer()
        {
            ViewBag.FooterCategories = _homeServices.ListFooterCategory();
            ViewBag.Contact          = _homeServices.GetContactHome();
            var footers = _homeServices.ListFooter();

            return(PartialView(footers));
        }