private async void CancelChangesCommand() { if (await CancelChangesCommandTask()) { // Restore menu ViewEventCommand.Execute(); } }
public EventItemModel(AppLevelModel appViewModel, DateTime newEventDate, bool NavFromCalendar) : base(appViewModel, newEventDate, NavFromCalendar) { ViewEventCommand.Execute(); }