Пример #1
0
        public CardConsumeViewModel(IFairiesMemberManageUow uow)
            : base(uow)
        {
            this.IsCupType = BusinessCommon.IsCupType();
            bool imageColumnVisibility = BusinessCommon.ImageColumnVisibility();

            if (imageColumnVisibility)
            {
                this.ImageColumnVisibility = Visibility.Visible;
            }
            else
            {
                this.ImageColumnVisibility = Visibility.Collapsed;
            }
        }
Пример #2
0
 public BillRepeatViewModel(IFairiesMemberManageUow uow)
     : base(uow)
 {
     this.IsCupType         = BusinessCommon.IsCupType();
     this.IsInvDynamicPrice = BusinessCommon.IsInvDynamicPrice();
 }