示例#1
0
        public async void AddSightAsync()
        {
            if (CurrentSightDate.HasValue)
            {
                CurrentSight.VisitDate = CurrentSightDate.Value.Date.Add(CurrentSightTime);
            }

            ScheduledNotificationService.AddToastReminder(CurrentSight);

            PopupManager.HideContent();
            CurrentSight.IsMySight = true;
            await UpdateSightAsync(CurrentSight);
        }
示例#2
0
 public async void DeleteSightAsync()
 {
     PopupManager.HideContent();
     CurrentSight.IsMySight = false;
     await UpdateSightAsync(CurrentSight);
 }
示例#3
0
 public async void AddSightAsync()
 {
     PopupManager.HideContent();
     CurrentSight.IsMySight = true;
     await UpdateSightAsync(CurrentSight);
 }