Esempio n. 1
0
        //
        // GET: /Bootstrap3/Mvc/BootstrapHtml
        public virtual ActionResult BootstrapHtml(bool?msg)
        {
            CoreHtmlViewModel model = new CoreHtmlViewModel
            {
                SomeProperty = "Blah blah",
                ShowMessage  = msg.HasValue
            };

            return(View(model));
        }
Esempio n. 2
0
        //
        // GET: /Bootstrap3/Mvc/CoreHtml
        public virtual ActionResult CoreHtml()
        {
            CoreHtmlViewModel model = new CoreHtmlViewModel
            {
                SomeProperty = "Blah blah",
                ShowMessage  = false
            };

            return(View(model));
        }