bool CanShowInstruction() { var instructionViewModel = new InstructionViewModel(Alarm.Device, Alarm.Zone, Alarm.AlarmType); return instructionViewModel.HasContent; }
void OnShowInstruction() { var instructionViewModel = new InstructionViewModel(Alarm.Device, Alarm.Zone, Alarm.AlarmType); DialogService.ShowModalWindow(instructionViewModel); }