Exemplo n.º 1
0
        public PointMachineViewModel(UserInformation userInformation, string costCentCode)
        {
            this.PointMachine           = new PointMachineModel();
            PointMachine.COST_CENT_CODE = costCentCode;
            _pointMachBll = new PointMachineBll(userInformation);
            _pointMachBll.GetPointMachine(PointMachine);

            this.submitCommand = new DelegateCommand(this.OnSubmit);
            this.cancelCommand = new DelegateCommand(this.OnCancel);
            this.unLoadCommand = new DelegateCommand(this.onUnloaded);
        }