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