protected override void RaiseItemAddInteractionRequest()
        {
            var itemFromRep  = EntityFactory.CreateEntity <Setting>();
            var vm           = WizardVmFactory.GetViewModelInstance(new KeyValuePair <string, object>("item", itemFromRep));
            var confirmation = new Confirmation {
                Title = "Create setting".Localize(), Content = vm
            };

            ItemAdd(confirmation, _repositoryFactory.GetRepositoryInstance(), itemFromRep);
        }
Beispiel #2
0
        protected override void RaiseItemAddInteractionRequest()
        {
            var item = EntityFactory.CreateEntity <DynamicContentPlace>();

            var vm           = WizardVmFactory.GetViewModelInstance(new KeyValuePair <string, object>("item", item));
            var confirmation = new ConditionalConfirmation()
            {
                Title   = "Create content place".Localize(),
                Content = vm
            };

            ItemAdd(item, confirmation, _repositoryFactory.GetRepositoryInstance());
        }
Beispiel #3
0
        protected override void RaiseItemAddInteractionRequest()
        {
            var item = EntityFactory.CreateEntity <FulfillmentCenter>();

            item.MaxReleasesPerPickBatch = 20;
            item.PickDelay = 30;

            var vm = WizardVmFactory.GetViewModelInstance(
                new KeyValuePair <string, object>("item", item)
                );
            var confirmation = new ConditionalConfirmation()
            {
                Title   = "Create fulfillment center".Localize(),
                Content = vm
            };

            ItemAdd(item, confirmation, _repositoryFactory.GetRepositoryInstance());
        }