Beispiel #1
0
        //
        // GET: /Install/
        public ActionResult Index()
        {
            if (_installationService.IsDatabaseInstalled())
            {
                return(RedirectToAction("Index", "Home"));
            }

            var model = new InstallModel()
            {
                AdminUsername = ""
            };

            return(View(model));
        }