Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public async void DeleteSightAsync()
 {
     PopupManager.HideContent();
     CurrentSight.IsMySight = false;
     await UpdateSightAsync(CurrentSight);
 }
Exemplo n.º 3
0
 public async void AddSightAsync()
 {
     PopupManager.HideContent();
     CurrentSight.IsMySight = true;
     await UpdateSightAsync(CurrentSight);
 }