public async Task ExecuteLoadSessionCommandAsync() { if (IsBusy) { return; } try { IsBusy = true; IsReminderSet = await ReminderService.HasReminderAsync(Session.Id); Session.FeedbackLeft = await StoreManager.FeedbackStore.LeftFeedback(Session); } catch (Exception ex) { Logger.Report(ex, "Method", "ExecuteLoadSessionCommandAsync"); MessagingService.Current.SendMessage(MessageKeys.Error, ex); } finally { IsBusy = false; } }
async Task ExecuteLoadEventDetailsCommandAsync() { if (IsBusy) { return; } try { IsBusy = true; IsReminderSet = await ReminderService.HasReminderAsync("event_" + Event.Id); } catch (Exception ex) { Logger.Report(ex, "Method", "ExecuteLoadEventDetailsCommandAsync"); MessagingService.Current.SendMessage(MessageKeys.Error, ex); } finally { IsBusy = false; } }