public ActionResult Index()
        {
            HomeViewModel hvm = new HomeViewModel();

            hvm.Eventos = CalendarioSampleData.getEventos();
            return(View(hvm));
        }
Exemple #2
0
        // GET: Eventos
        public ActionResult Eventos()
        {
            IList <EventoViewModel> eventos = CalendarioSampleData.getEventos();

            return(View("~/Views/Home/Sections/_Events.cshtml", eventos));
        }