public AddBreakdownWindowViewModel(BreakdownViewModel breakdownViewModel) { _breakedownViewModel = breakdownViewModel; Areas = new ObservableCollection <Area>(_ctx.Areas); Devices = new ObservableCollection <Device>(_ctx.Devices); Persons = new ObservableCollection <Person>(_ctx.Persons); GetAreas(); _requestDate = DateTime.Now; }
public ChangeStatusBreakdownViewModel(BreakdownViewModel breakdownViewModel) { _breakdownViewModel = breakdownViewModel; }
public EditBreakdownWindowViewModel(BreakdownViewModel breakdownViewModel) { _breakedownViewModel = breakdownViewModel; }