Exemple #1
0
        public ViewResult Index()
        {
            var homeViewModel = new HomeViewModel
            {
                LanchesPreferidos = _lancheRepository.ListaLanchesPreferidos().Result
            };

            return(View(homeViewModel));
        }