예제 #1
0
        public void PrefilterViewModel(VmOrganizationStep1 vm)
        {
            if (vm.Id != null && vm.Id == vm.ParentId)
            {
                throw new PtvArgumentException("Organization can not be simultaneously parent itself.");
            }

            webPageLogic.PrefilterModel(vm);
            addressLogic.PrefilterModel(vm);
        }
예제 #2
0
 public void PrefilterViewModel(VmLocationChannelStep1 vm)
 {
     webPageLogic.PrefilterModel(vm);
     addressLogic.PrefilterModel(vm);
 }