Ejemplo n.º 1
0
 public TabItem2ViewModel(IDialogService _dialogService, MainWindowViewModel _parent) : base(_parent)
 {
     this._phuService    = new PhuService();
     this._loaded        = new RelayCommand(LoadedCommandHandler);
     this._dialogService = _dialogService;
     this._showPHUTubes  = new RelayCommand <PHU>(ShowPHUTubesCommandHandler);
     this._wcfTest       = new RelayCommand(WCFTestHandler);
 }
Ejemplo n.º 2
0
 public void TestInitialize()
 {
     _dbContext     = new WPFBaseFrameworkEntities();
     _phuRepository = new PHURepository(_dbContext);
     _phuService    = new PhuService(_phuRepository);
 }