// // GET: /Home/ public ActionResult Index() { var model = new HomeViewModel { Title = "Spartan Hotels", ConvincingMarketingWords = "Spartan Hotels - Everything to need, nothing you don't. We need to hire a Marketing Firm. And a UI Designer . . . this is pretty sad looking.", Splash = "Welcome to Spartan Hotels" }; return View(model); }
// // GET: /Home/ public ActionResult Index() { var model = new HomeViewModel { Title = ConfigurationManager.AppSettings["Title"].ToString(), ConvincingMarketingWords = ConfigurationManager.AppSettings["ConvincingMarketingWords"].ToString(), Splash = ConfigurationManager.AppSettings["Splash"].ToString() }; return View(model); }