Exemplo n.º 1
0
        public virtual object SaveWizard(WizardInputModel model)
        {
            if (!_unlockApi)
            {
                return(JToken.FromObject(new ApiStatusMessage("You do not have permissions to perform that action", "Permissions Denied", ApiMessageType.Alert)));
            }

            return(ProcessWizard(model, true));
        }
Exemplo n.º 2
0
        public virtual object GetWizard(WizardInputModel model)
        {
            if (!_unlockApi)
            {
                return(JToken.FromObject(new ApiStatusMessage("You do not have permissions to perform that action", "Permissions Denied", ApiMessageType.Alert)));
            }

            return(WizardFactory.CreateWizardScreenContent(model.Wizard, model.Screen));
        }