private void CreateScanBagSections() { if (_patient == null) { return; } if (!_patient.Studies.Any()) { return; } foreach (Study s in Patient.Studies.Where(x => x.Deleted == false)) { ScanBagSection sec = new ScanBagSection(s); ScanBagSections.Add(sec); sec.ScanBag = this; } }
public UploadFileViewModel(ScanBagSection sec) { _scanbagSection = sec; ChooseFileCommand = new RelayCommand(ChooseFile); UploadFileCommand = new RelayCommand(uploadFile); }