Esempio n. 1
0
        public IActionResult Index(int slide = 0)
        {
            if (slide < 0 || slide > Slides.Get().Length - 1)
            {
                throw new Exception("Get lost!");
            }

            return(View(Slides.Get(slide).View, new _LayoutModel(Slides.Get(), slide)));
        }