public override OnGetOutputModel OnGet(OnGetInputModel input)
        {
            var ret = base.OnGet(input);

            ret.DepartmentStore.SetPropertyValue(OnGetOutputModel.IsChangeReturnPropertyValueProperty, true);
            ret.DepartmentStore.SetPropertyValue(OnGetOutputModel.NewReturnPropertyValueProperty, redirectMethod.Invoke());

            return(ret);
        }
Пример #2
0
        public virtual OnGetOutputModel OnGet(OnGetInputModel input)
        {
            var model = new OnGetOutputModel();

            model.DepartmentStore.SetPropertyValue(OnGetOutputModel.IsChangeRealPropertyValueProperty, false);
            model.DepartmentStore.SetPropertyValue(OnGetOutputModel.IsChangeReturnPropertyValueProperty, false);

            return(model);
        }