Ejemplo n.º 1
0
        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;
            }
        }
Ejemplo n.º 2
0
        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;
            }
        }