Esempio n. 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();
 }
Esempio n. 2
0
 public async void DeleteNote(Note Note)
 {
     Notes.Remove(Note);
     await saveNoteDataAsync();
 }
Esempio n. 3
0
 public async void AddNote(Note Note)
 {
     Notes.Add(Note);
     await saveNoteDataAsync();
 }