private void SetUpWizardHelper(IEngineContext engineContext, IController controller, IControllerContext controllerContext) { if (controller == null) return; WizardHelper helper = new WizardHelper(); helper.SetContext(engineContext); helper.SetController(controller, controllerContext); controllerContext.Helpers.Add(helper); }
private void SetUpWizardHelper(Controller controller) { if (controller == null) return; WizardHelper helper = new WizardHelper(); helper.SetController(controller); controller.Helpers["wizardhelper"] = helper; }