Exemplo n.º 1
0
        public IActionResult Setup()
        {
            PresetPluginLoader presetPluginLoader = new PresetPluginLoader();
            List <string>      plugins            = presetPluginLoader.LoadPlugins();

            if (plugins.Count == 0)
            {
                _systemManager.MarkAsInstalled();
                return(RedirectToAction("Index", "Home"));
            }

            return(View(plugins));
        }