示例#1
0
 public TestController(IServiceHandlerFactory ServiceHandlerFactory
                       , IFilterFactory FilterFactory
                       , IRule RulesFactor
                       , ICommonInfo CommonInfo)
 ///  : base(ServiceHandlerFactory, FilterFactory, RulesFactor, CommonInfo)
 {
 }
        public UncashedCommisionStatisticsViewModel(ICommonInfo dimensionService)
        {
            Stores        = dimensionService.GetStoreList();
            QueryCriteria = new UncashedCommisionStatisticsQueryCriteria();

            QueryCommand  = new AsyncDelegateCommand(OnQuery);
            ExportCommand = new AsyncDelegateCommand(OnExport);
        }
示例#3
0
 public SubCategoryEdits(IServiceHandlerFactory ServiceHandlerFactory
                         , IFilterFactory FilterFactory
                         , IListFactory ListFactory
                         , ICommonInfo CommonInfo
                         )
     : base(ServiceHandlerFactory, FilterFactory, ListFactory, CommonInfo)
 {
 }
示例#4
0
        public CounterListViewModel(ICommonInfo dimensionService)
        {
            EnableCommand  = new AsyncDelegateCommand(() => OnEnable(false), CanExecute);
            DisableCommand = new AsyncDelegateCommand(() => OnEnable(true), CanExecute);

            Stores        = dimensionService.GetStoreList();
            QueryCriteria = new QueryCounterByComposition();
        }
        public GiftCardStatisticsViewModel(ICommonInfo dimensionService)
        {
            Stores         = dimensionService.GetStoreList();
            PaymentMethods = dimensionService.GetPayMethod();
            QueryCriteria  = new GiftCardStatisticsQueryCriteria();

            QueryCommand  = new AsyncDelegateCommand(OnQuery);
            ExportCommand = new AsyncDelegateCommand(OnExport);
        }
        public CashedCommisionStatisticsViewModel(ICommonInfo dimensionService, IService <Bank> bankService)
        {
            Stores        = dimensionService.GetStoreList();
            Banks         = bankService.QueryAll(new QueryAll());
            QueryCriteria = new CashedCommisionStatisticsQueryCriteria();

            QueryCommand  = new AsyncDelegateCommand(OnQuery);
            ExportCommand = new AsyncDelegateCommand(OnExport);
        }
 public ApprovalViewModel(ICommonInfo dimensionService)
 {
     QueryCriteria           = new ApplicationQueryCriteria();
     Stores                  = dimensionService.GetStoreList();
     ApprovalStatuses        = EnumerationUtility.ToList <ApprovalStatus>();
     QueryCommand            = new AsyncDelegateCommand(OnQuery);
     ApproveCommand          = new AsyncDelegateCommand(OnApprove, CanCommandExecute);
     SelectAllCommand        = new DelegateCommand <bool?>(OnSelectAll);
     ReloadDepartmentCommand = new AsyncDelegateCommand(OnDepartmentReload);
 }
 public AssociateViewModel(ICommonInfo dimensionService)
 {
     QueryCriteria           = new AssociateQueryCriteria();
     Stores                  = dimensionService.GetStoreList();
     PermissionLevels        = EnumerationUtility.ToList <AssociatePermission>();
     QueryCommand            = new AsyncDelegateCommand(OnQuery);
     RenotifyCommand         = new AsyncDelegateCommand(OnNotify, CanCommandExecute);
     DemoteCommand           = new AsyncDelegateCommand(OnDemote, CanCommandExecute);
     SelectAllCommand        = new DelegateCommand <bool?>(OnSelectAll);
     ReloadDepartmentCommand = new AsyncDelegateCommand(OnDepartmentReload);
 }
示例#9
0
 public TestWebController(
     IServiceHandlerFactory ServiceHandlerFactory
     , IRule RuleFactory
     , IFilterFactory FilterFactory
     , ICommonInfo CommonInfo
     )
 //: base(ServiceHandlerFactory
 //      , RuleFactory
 //      , FilterFactory
 //      , CommonInfo
 //      , null)
 {
 }