Beispiel #1
0
        public ActionResult Index()
        {
            var viewModel = _bootstrapper.CreateViewModel("RedirectsMenu", ControllerContext, "Forte.EpiserverRedirects");

            return(View(_bootstrapper.BootstrapperViewName,
                        viewModel));
        }
        public ActionResult Index(ShellModule module, string controller)
        {
            Validator.ValidateArgNotNull("module", module);
            Validator.ValidateArgNotNull("controller", controller);

            var view      = _viewManager.GetView(module, controller);
            var viewModel = _bootstrapper.CreateViewModel(view.Name, ControllerContext, module.Name);

            return(View(_bootstrapper.BootstrapperViewName, viewModel));
        }
 public ActionResult Index()
 {
     return(View(_bootstrapper.BootstrapperViewName,
                 _bootstrapper.CreateViewModel("Disqus", ControllerContext, "Duk.EPiServer.Disqus.UI")));
 }