Exemplo n.º 1
0
        public ActionResult Index()
        {
            var Foodtop8    = foodManager.GetFoodbyTop(9);
            var Menutop5    = menumanager.GetMenubyTop(6);
            var Specialtop5 = specialmanager.GetSpecialbyTop(6);

            Models.HomeIndexViewModel indexvm = new Models.HomeIndexViewModel();
            indexvm.Foodtop8    = Foodtop8;
            indexvm.Menutop5    = Menutop5;
            indexvm.Specialtop5 = Specialtop5;

            return(View(indexvm));
        }