Esempio n. 1
0
 public HermesGenericNote UpdateGenericNote(HermesGenericNote note, string userName, string userId)
 {
     notesDb[note.Id] = note;
     return(note);
 }
Esempio n. 2
0
 public void DeleteGenericNote(HermesGenericNote note, string userName, string userId)
 {
     notesDb.Remove(note.Id);
 }
Esempio n. 3
0
 public HermesGenericNote AddGenericNote(HermesGenericNote note, string userName, string userId)
 {
     note.Id          = Guid.NewGuid().ToString();
     notesDb[note.Id] = note;
     return(note);
 }