Beispiel #1
0
 public async void UpdateNote(Note Note)
 {
     var oldNote = from n in Notes
                   where n.ID == Note.ID
                   select n;
     Note note = oldNote.FirstOrDefault();
     Notes.Remove(note);
     Notes.Add(Note);
     await saveNoteDataAsync();
 }
Beispiel #2
0
 public async void DeleteNote(Note Note)
 {
     Notes.Remove(Note);
     await saveNoteDataAsync();
 }
Beispiel #3
0
 public async void AddNote(Note Note)
 {
     Notes.Add(Note);
     await saveNoteDataAsync();
 }