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