public void Edit() { EditHallViewModel editHallViewModel = _resolutionRoot.Get <EditHallViewModel>(new ConstructorArgument("hall", SelectedHall)); ((ISupportParentViewModel)editHallViewModel).ParentViewModel = this; DialogService.ShowDialog("Hall Editor", editHallViewModel); Refresh(); }
public void Add() { EditHallViewModel editHallViewModel = _resolutionRoot.Get <EditHallViewModel>(); ((ISupportParentViewModel)editHallViewModel).ParentViewModel = this; DialogService.ShowDialog("Hall Editor", editHallViewModel); Refresh(); }